Open nhoxanboc opened 8 years ago
Try to remove "/" before Example_Models/segnet_weights_driving_webdemo.caffemodel
Same thing to Scripts/camvid12.png
thank you very much. It solved my problem :D
excuse me, have you done it on your computer? it running slowly on mine, I must wait for over 15s for a frame to be processed. Is there any way to improve it?
You need a GPU.
Hi there, sorry for my bad English. I have done everything to build caffe-segnet in your tutorial with openblas and cpu only config on my mac, also pycaffe. When I edit webcam_demo.py file, I set
caffe_root = '/Users//caffe-segnet'
then in terminal:
cd SegNet-Tutorial export PYTHONPATH=/Users//caffe-segnet/python:$PYTHONPATH
python Scripts/webcam_demo.py --model Example_Models/segnet_model_driving_webdemo.prototxt --weights /Example_Models/segnet_weights_driving_webdemo.caffemodel --colours /Scripts/camvid12.png
and the error was:
Traceback (most recent call last): File "Scripts/webcam_demo.py", line 27, in
caffe.TEST)
RuntimeError: Could not open file /Example_Models/segnet_weights_driving_webdemo.caffemodel
Please help me in detail, I'm a beginner :)