-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot solve: Cannot use GPU in CPU-only Caffe: check mode #65
Comments
which version did you try? did you try the latest python code? |
Hi Shuai, Thanks for your reply. if gpudevice >=0: On 29 August 2016 at 23:31, Shuai Zheng notifications@github.com wrote:
|
gpudevice=-1 means you do not have gpu device. If you have at least one GPU, you should be able to use gpudevice=0. |
Hi |
found it. Thank you. |
Hi,
When I run: python crfasrnn_demo.py
The problem is as:
Input file is " input.jpg
Output file is " output.png
GPU_DEVICE is " 0
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0829 22:22:03.615937 22095 common.cpp:66] Cannot use GPU in CPU-only Caffe: check mode.
*** Check failure stack trace: ***
Aborted (core dumped)
I have uncommented the CPU_ONLY = 1 in the 'Makefile.config'
Changed CMakeLists.txt: caffe_option(CPU_ONLY "Build Caffe without CUDA support" ON)
changed solver_mode: CPU in .prototxt files
However, the problem is still there.
Would anyone like to help please?
Thanks very much
The text was updated successfully, but these errors were encountered: