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 parsing text-format caffe.NetParameter: 51:20: Message type "caffe.LayParameter" has no field named "denseblock_param" #11

Open
DanChen001 opened this issue Sep 5, 2017 · 4 comments

Comments

@DanChen001
Copy link

Hello, thank you for sharing the code.

I meet the problem as follows, can you give me some advice? thank you.

[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 51:20: Message type "caffe.LayerParameter" has no field named "denseblock_param".
F0905 20:09:18.149165 3999 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: examples/DenseNN_SR/Our_train_test_DenCNN_SR_Net.prototxt
*** Check failure stack trace: ***
@ 0x7f0aaa0b89fd google::LogMessage::Fail()
@ 0x7f0aaa0ba89d google::LogMessage::SendToLog()
@ 0x7f0aaa0b85ec google::LogMessage::Flush()
@ 0x7f0aaa0bb1be google::LogMessageFatal::~LogMessageFatal()
@ 0x7f0aaa726c37 caffe::ReadNetParamsFromTextFileOrDie()
@ 0x7f0aaa6e5231 caffe::Solver<>::InitTrainNet()
@ 0x7f0aaa6e56ff caffe::Solver<>::Init()
@ 0x7f0aaa6e5b1d caffe::Solver<>::Solver()
@ 0x7f0aaa6d6d61 caffe::Creator_NesterovSolver<>()
@ 0x40ed51 caffe::SolverRegistry<>::CreateSolver()
@ 0x408b2c train()
@ 0x406432 main
@ 0x7f0aa90c6f45 (unknown)
@ 0x406ab6 (unknown)

@winggan
Copy link

winggan commented Sep 8, 2017

You should run the network configuration on the customized caffe mentioned in README.md
DenseBlockLayer is a custom layer in that caffe and will not appear in the official caffe

@DanChen001
Copy link
Author

Ok, thank you. I will try.

@sytow
Copy link

sytow commented May 4, 2018

@DanChen001 Have you solved that?I meet the same problem when I test the model using python interface... thank u!

@sytow
Copy link

sytow commented May 4, 2018

@gzygzy9211 Any further help please? I just run it under the caffe-master root and I don't know what's wrong ...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