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

Message type "caffe.LayerParameter" has no field named "rand_cat_conv_param". #1

Open
yangcheng001 opened this issue Jul 31, 2017 · 2 comments

Comments

@yangcheng001
Copy link

when I run "python main.py generate_pr",I got this error:

Working on saw_pixelnet (path: saw/saw_pixelnet-614)...
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0731 18:52:34.956928 2536 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface
W0731 18:52:34.956959 2536 _caffe.cpp:140] Use this instead (with the named "weights" parameter):
W0731 18:52:34.956965 2536 _caffe.cpp:142] Net('saw/saw_pixelnet-614/deploy.prototxt', 1, weights='saw/saw_pixelnet-614/snapshot.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 500:23: Message type "caffe.LayerParameter" has no field named "rand_cat_conv_param".
F0731 18:52:34.958628 2536 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: saw/saw_pixelnet-614/deploy.prototxt
*** Check failure stack trace: ***

Can you help me?

@kovibalu
Copy link
Owner

kovibalu commented Aug 1, 2017

Hello,

Are you using the caffe fork I provided in my repo as a submodule? Bansal et al. use a custom layer which is not included in the original caffe repo.

@yangcheng001
Copy link
Author

thank you for your help

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