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

Model convert error - libprotobuf #42

Open
delemelo-mobica opened this issue May 13, 2019 · 1 comment
Open

Model convert error - libprotobuf #42

delemelo-mobica opened this issue May 13, 2019 · 1 comment

Comments

@delemelo-mobica
Copy link

delemelo-mobica commented May 13, 2019

I am trying to convert some caffe models (prototxt / caffe model upgraded) into feathermodel using tools/feather_convert_caffe, and hit this error.

[libprotobuf FATAL /usr/local/include/google/protobuf/repeated_field.h:1514] CHECK failed: (index) < (current_size_):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) < (current_size_):
Aborted (core dumped)

Note: I get this error when trying to convert any converting any caffe model . Also, I am using the experimental branch ( commit - 5023303 ).

Please, do you have any ideas for a solution?

Also, is there a input file for 3x227x227?
This is required for some models like AlexNet. Currently, there is only on input file - input_3x224x224.txt. Please, how is this file created.?

@delemelo-mobica
Copy link
Author

The issue with the model conversion issue was related to a missing caffe model file.

For example, in the line below, if the file mobilenet.caffemodel does not exist the above error comes up.
./feather_convert_caffe ./mobilenet.prototxt ./mobilenet.caffemodel ./mobilenet

It would be nice to update the conversion tool to terminate and probably notify the user that a file is missing. This would be better than running without adequate inputs and then failing with the error above.

Also,regarding the input file for 3x227x227 (AlexNet)? Is there a tool available for creating the input files?

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

1 participant