Closed WeiyiLi closed 7 years ago
When I tried to run Live Demo, I got the error:
F0822 21:57:53.386196 38133 conv_layer.cpp:71] Cannot use GPU in CPU-only Caffe: check mode. *** Check failure stack trace: *** Aborted (core dumped)
Can anyone help me the fix this problem? Where can I change the mode? Thank you very much!
Fixed! In line 29 of webcam_demo.py, change caffe.set_mode_gpu() to caffe.set_mode_cpu()
caffe.set_mode_gpu()
caffe.set_mode_cpu()
When I tried to run Live Demo, I got the error:
F0822 21:57:53.386196 38133 conv_layer.cpp:71] Cannot use GPU in CPU-only Caffe: check mode. *** Check failure stack trace: *** Aborted (core dumped)
Can anyone help me the fix this problem? Where can I change the mode? Thank you very much!