Skip to content
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

Error parsing text-format caffe.NetParameter. But I can't find scripts folder in /home/user/caffe/build. #224

Open
t109318123 opened this issue Mar 25, 2021 · 1 comment

Comments

@t109318123
Copy link

following is my error message

WARNING: Logging before InitGoogleLogging() is written to STDERR
W0325 22:22:01.635102  6457 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface
W0325 22:22:01.635133  6457 _caffe.cpp:140] Use this instead (with the named "weights" parameter):
W0325 22:22:01.635135  6457 _caffe.cpp:142] Net('/tmp/tmpolaouy0x', 1, weights='/home/daniel/Downloads/flownet2-master/models/FlowNet2/FlowNet2_weights.caffemodel.h5')
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.NetParameter: 40:22: Message type "caffe.LayerParameter" has no field named "augmentation_param".
F0325 22:22:01.636019  6457 upgrade_proto.cpp:90] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /tmp/tmpolaouy0x
*** Check failure stack trace: ***
Aborted (core dumped)

I found the solution maybe need to source the env script, but I couldn't find the scripts folder in the /home/user/caffe/build path, so I think this method is not helpful for me.
Do you know how to solve this problem with another method?

@nikolausmayer
Copy link
Contributor

Message type "caffe.LayerParameter" has no field named "augmentation_param" often has one of these reasons:

  • you have more than one Caffe installation, and the paths interfere with each other
  • you have an old (or more than one) Protobuf installation and it is erroneously being used for FlowNet2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants