-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I changed my caffe path to /home/han/src/caffe in./bashrc,
but when i run prediction_json.py,there is still error:
han@han:~/Ask_Attend_and_Answer-master/example/prediction$ python predict_json.py
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0929 20:04:09.720854 20851 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface
W0929 20:04:09.720896 20851 _caffe.cpp:140] Use this instead (with the named "weights" parameter):
W0929 20:04:09.720903 20851 _caffe.cpp:142] Net('./prediction/deploy.prototxt', 1, weights='./prediction/mm_iter_243000.caffemodel')
Traceback (most recent call last):
File "predict_json.py", line 28, in
lstmnet = caffe.Net(DEPLOY, MODEL, caffe.TEST)
RuntimeError: Could not open file ./prediction/deploy.prototxt
Could you please give me some advice on it?