-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"caffe.LayerParameter" has no field named "transpose_param" #20
Comments
@mahaling I think you may import other caffe instead of the one we ship. You can use |
@tianzhi0549 I met the same problem. Please help |
@ld909 Please make sure that you import the correct caffe. Thank you:-). |
@tianzhi0549 You are right. I just had to point the code to the right version of caffe and it worked!. |
@mahaling Already have Caffe installed, do I need to reinstall it with the modified version ??? because I have the same problem |
@mahaling @tianzhi0549 ,would you mind telling me how you set your caffe_root, I set my caffe_root ='/home/jsj/CTPN/caffe/python/caffe' ,and I got the follow error 👍 "Connected to pydev debugger (build 171.4694.38) |
@sabirdvd Yes you need to point the CAFFE_ROOT to the caffe version that comes along with this code. @yingning You are doing it right. However, I set the CAFFE_ROOT inside my python code so that it uses that version of caffe. Your code is still referring to the other caffe version that you already have. |
i have the same quetion,and the result of command "print caffe" is <module 'caffe' from 'caffe/init.py'> |
ummm, i compile the caffe with cuda8 and cudnn7 |
I am trying to run the demo.py file and getting the following error.
Is there something wrong that I am doing. I have the BVLC version of caffe also installed in a different location.
This is the error I am getting while trying to run demo.py
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0104 15:27:11.308679 30453 _caffe.cpp:154] DEPRECATION WARNING - deprecated use of Python interface
W0104 15:27:11.308717 30453 _caffe.cpp:155] Use this instead (with the named "weights" parameter):
W0104 15:27:11.308722 30453 _caffe.cpp:157] Net('models/deploy.prototxt', 1, weights='models/ctpn_trained_model.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 387:19: Message type "caffe.LayerParameter" has no field named "transpose_param".
F0104 15:27:11.310125 30453 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/deploy.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: