Skip to content
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 use GPU in CPU-only Caffe: check mode #44

Closed
ly2251 opened this issue Apr 10, 2018 · 1 comment
Closed

Cannot use GPU in CPU-only Caffe: check mode #44

ly2251 opened this issue Apr 10, 2018 · 1 comment

Comments

@ly2251
Copy link

ly2251 commented Apr 10, 2018

I build caffe CPU Only

root@ubuntu:/home/user/sceneReco# python demo.py
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0410 03:50:20.793697 5050 common.cpp:66] Cannot use GPU in CPU-only Caffe: check mode.
*** Check failure stack trace: ***
Aborted (core dumped

@pengpengO
Copy link

pengpengO commented Sep 10, 2018

I change the ctpnport.py like this:

caffe.set_mode_cpu()

caffe.set_device(cfg.TEST_GPU_ID)

@bear63 bear63 closed this as completed Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants