~/caffe-master$ python python/classify.py --print_results examples/images/cat.jpg foo
CPU mode
WARNING: Logging before InitGoogleLogging() is written to STDERR
W1213 13:41:16.520880 10117 _caffe.cpp:122] DEPRECATION WARNING - deprecated use of Python interface
W1213 13:41:16.520905 10117 _caffe.cpp:123] Use this instead (with the named "weights" parameter):
W1213 13:41:16.520907 10117 _caffe.cpp:125] Net('python/../models/bvlc_reference_caffenet/deploy.prototxt', 1, weights='python/../models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel')
Traceback (most recent call last):
File "python/classify.py", line 177, in <module>
main(sys.argv)
File "python/classify.py", line 122, in main
channel_swap=channel_swap)
File "/home/somayeh/caffe-master/python/caffe/classifier.py", line 26, in __init__
caffe.Net.__init__(self, model_file, pretrained_file, caffe.TEST)
RuntimeError: Could not open file python/../models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel