Runtimeerror While Opening Deploy.prototxt
I'm trying run a simple code with caffe that should open deploy.prototxt but it couldn't open the file and throws this error RuntimeError: Could not open file /home/ebadawy/git/ca
Solution 1:
I found that I forgot to append /
for caffe_root
"very silly mistake!"
Solution 2:
add backslash at the end of your caffe_root like
caffe_root = '/home/ebadawy/git/caffe/'
I guess your path should refer to caffe/models , not caffemodels. Good luck
Solution 3:
I solved this using the absolute path to the directory that contained the deploy.prototxt
file.
Post a Comment for "Runtimeerror While Opening Deploy.prototxt"