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
does "caffe.LayerParameter" has no field named "interp_param". mean that i try to convert a layer that doesn't work? #3
Comments
Run the following code:
Let me know what happens. |
the same error:
[libprotobuf ERROR google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 20:16: Message type "caffe.LayerParameter" has no field named "interp_param". |
This means there is a problem with your Caffe installation. What you could try next is to load a very basic model like VGG instead of ICnet to see if that works. If your Caffe installation works at all, then that should definitely work. If you can load something like VGG correctly, then the cause of the error above can be narrowed down to the authors of ICnet requiring a specific version of Caffe. Do the authors of ICnet require a specific version of Caffe, or do they maybe even use their own modified version of Caffe? If yes, you will need to install that exact version of Caffe. |
It works with VGG and it seems you are right about a specific caffe version. They use a version used by PSP net which uses a modified version of DeepLab2 which explains why it doens't work. Thanks! |
You're welcome! It's a pain in the ass with many Caffe models and the custom Caffe versions they require, I've had to deal with that myself several times. |
solved it by reference to https://www.cnblogs.com/wmr95/p/8715607.html |
Thank you! It really helps! |
I try to convert ICnet weights (https://github.com/hszhao/ICNet/tree/master/evaluation/model)
and get the following error:
[libprotobuf ERROR google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 20:16: Message type "caffe.LayerParameter" has no field named "interp_param".
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0307 11:29:02.966812 2308428608 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: icnet_cityscapes_bnnomerge.prototxt
*** Check failure stack trace: ***
Abort trap: 6
The text was updated successfully, but these errors were encountered: