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 "ogn_data_param". #27

Open
borysknysh opened this issue Feb 10, 2020 · 0 comments

Comments

@borysknysh
Copy link

borysknysh commented Feb 10, 2020

Dear @tatarchm,
I have an issue while trying to run test.sh, which looks as following:
caffe test --model test_net.prototxt --weights=snapshots/snapshot_iter_170000.caffemodel --iterations 5
I don't have gpu, so I removed corresponding flag and compiled the project with CPU_ONLY ON in CMakeLists.txt
mkdir build
cd build
cmake ../
make -j8

So my output is following:
I0210 10:23:01.813999 32311 caffe.cpp:284] Use CPU.
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.NetParameter: 9:18: Message type "caffe.LayerParameter" has no field named "ogn_data_param".
F0210 10:23:01.815307 32311 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: test_net.prototxt
*** Check failure stack trace: ***
@ 0x7f5899a110cd google::LogMessage::Fail()
@ 0x7f5899a12f33 google::LogMessage::SendToLog()
@ 0x7f5899a10c28 google::LogMessage::Flush()
@ 0x7f5899a13999 google::LogMessageFatal::~LogMessageFatal()
@ 0x7f589a0fadb1 caffe::ReadNetParamsFromTextFileOrDie()
@ 0x7f589a096cb8 caffe::Net<>::Net()
@ 0x56017911a1b7 (unknown)
@ 0x5601791183c3 (unknown)
@ 0x7f5898a16b97 __libc_start_main
@ 0x560179118e0a (unknown)
./test.sh: line 1: 32311 Aborted (core dumped) caffe test --model test_net.prototxt --weights=snapshots/snapshot_iter_170000.caffemodel --iterations 5

Could you please help me? What am I doing wrong?

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