Closed miyatat closed 5 years ago
Did you use our CF-Caffe?
Oooppps, Sorry, try it.
Oooppps, Sorry, try it.
Hello, I met with the similar problem and I just want to run the test code. I have tried to configure the environment as author's recommend, and I have spent the whole night but still with no luck. So I want to know how to fix this problem rather than install caffe again! Thank you for any help!
W0822 15:55:31.530463 4904 _caffe.cpp:178] Net('deploy.prototxt', 1, weights='snapshot/DSC_iter_12000.caffemodel') [libprotobuf ERROR C:\ci\libprotobuf_1523040574637\work\src\google\protobuf\text_format.cc:288] Error parsing text-format caffe.NetParameter: 524:15: Message type "caffe.LayerParameter" has no field named "irnn_param". F0822 15:55:31.576437 4904 upgrade_proto.cpp:90] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: deploy.prototxt Check failure stack trace:
I install caffe with anaconda, and transfer the examples/DSC/DSC_detection/DSC_test.ipynb to DSC_test.py(.py file). Then run DSC_test.py at the terminal. The error caused by the following code
net = caffe.Net('deploy.prototxt', 'snapshot/DSC_iter_12000.caffemodel', caffe.TEST)
Thank you for any help! Best-_-
Please follow the README to download and compile our CF-Caffe.
During running DSC_test.ipynb, "caffe.LayerParameter" has no field named "irnn_param".
My Spec/Environment:
anaconda, caffe-gpu on Ubuntu18.04
Caffe was installed by Conda install.On running
net = caffe.Net('deploy.prototxt', 'snapshot/DSC_iter_12000.caffemodel', caffe.TEST)
Error below:
Thanks.