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 in convert_deeplab_resnet.py #1

Closed
yghlc opened this issue May 14, 2017 · 3 comments
Closed

error in convert_deeplab_resnet.py #1

yghlc opened this issue May 14, 2017 · 3 comments

Comments

@yghlc
Copy link

yghlc commented May 14, 2017

Dear all,
I used convert_deeplab_resnet.py to convert caffemodel, but following error. I don't know what's going on.
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 24:16: Message type "caffe.LayerParameter" has no field named "interp_param". WARNING: Logging before InitGoogleLogging() is written to STDERR F0514 16:39:28.816993 17207 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: data/test.prototxt *** Check failure stack trace: ***
I have caffe installed, but I'm not sure whether it's a correct version.
Thank you for your attention!

I'm not familiar with caffe. Would anyone like to share the pytorch model file (.pth) converted from caffemodel, thank you!

@isht7
Copy link
Owner

isht7 commented May 14, 2017

Hi, this is happening because you are not using deeplab's version of caffe. You need to install caffe available here(deeplab-public-ver2). I will share converted .pth files with you in a few hours.

@isht7
Copy link
Owner

isht7 commented May 14, 2017

Find the output .pth file of convert_deeplab_resnet.py here.

@yghlc
Copy link
Author

yghlc commented May 14, 2017

@isht7 many thanks for your help!

@isht7 isht7 closed this as completed May 14, 2017
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