Skip to content

Could not open file ./prediction/deploy.prototxt #6

@Victoria2333

Description

@Victoria2333

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions