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

"caffe.ImageDataParameter" has no field named "label_type" #29

Closed
andrewjong opened this issue Nov 22, 2018 · 3 comments
Closed

"caffe.ImageDataParameter" has no field named "label_type" #29

andrewjong opened this issue Nov 22, 2018 · 3 comments

Comments

@andrewjong
Copy link

Hello!
I get this error when trying to test the pretrained model. Could you help me figure it out please?

Testing net human/attention
Running /usr/bin/caffe.bin test              --model=human/config/attention/test_val.prototxt              --weights=human/model/attention/test.caffemodel              --iterations=10000
I1121 16:58:08.414149 24292 caffe.cpp:284] Use CPU.
[libprotobuf ERROR google/protobuf/text_format.cc:307] Error parsing text-format caffe.NetParameter: 14:15: Message type "caffe.ImageDataParameter" has no field named "label_type".
F1121 16:58:08.419540 24292 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: human/config/attention/test_val.prototxt

I believe the key part is this: "caffe.ImageDataParameter" has no field named "label_type".

This looks related to #22, but since that thread is closed with no posted solution, I'm opening a new issue.
Thank you for your time.

@Engineering-Course
Copy link
Owner

Do you use the caffe_ssl or the original caffe?
Please check that do you compile the customed caffe_ssl.

@andrewjong
Copy link
Author

Oh I see, thank you!
Decided to switch to LIP_JPP instead because it's in TensorFlow (easier for me).

@ssjsusie
Copy link

Do you use the caffe_ssl or the original caffe?
Please check that do you compile the customed caffe_ssl.

Excuse me, Can you provide the CUDA version number for Caffe at compile time? Thank you!

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

3 participants