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

libprotobuf error in "make runtest" #992

Closed
lixin7895123 opened this issue Aug 27, 2014 · 8 comments
Closed

libprotobuf error in "make runtest" #992

lixin7895123 opened this issue Aug 27, 2014 · 8 comments

Comments

@lixin7895123
Copy link

i am installing caffe in rhel6.2, an libprotobuf ERROR arised when i was running the "make runtest"
i reinstalled protobuf*, but nothing changed,what's happened? how can i solve this libprotobuf error?
I'm going to copy paste this below.

[ RUN ] NetTest/0.TestUnsharedWeightsDataNet
libprotobuf ERROR google/protobuf/text_format.cc:169] Error parsing text-format caffe.NetParameter: 1:348: Expected identifier.
F0827 18:10:03.513089 28999 test_net.cpp:27] Check failed: google::protobuf::TextFormat::ParseFromString(proto, &param)
*** Check failure stack trace: ***
@ 0x7f263752ea5d google::LogMessage::Fail()
@ 0x7f2637532c57 google::LogMessage::SendToLog()
@ 0x7f2637530ad9 google::LogMessage::Flush()
@ 0x7f2637530ddd google::LogMessageFatal::~LogMessageFatal()
@ 0x601a2d caffe::NetTest<>::InitNetFromProtoString()
@ 0x61d460 caffe::NetTest<>::InitUnsharedWeightsNet()
@ 0x612993 caffe::NetTest_TestUnsharedWeightsDataNet_Test<>::TestBody()
@ 0x663dad testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x655b01 testing::Test::Run()
@ 0x655be7 testing::TestInfo::Run()
@ 0x655d27 testing::TestCase::Run()
@ 0x65ac2f testing::internal::UnitTestImpl::RunAllTests()
@ 0x66395d testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x65512a testing::UnitTest::Run()
@ 0x4674a1 main
@ 0x7f2633b5ad1d __libc_start_main
@ 0x467209 (unknown)
make: *** [runtest] Aborted (core dumped)

@lixin7895123
Copy link
Author

can somebody help me ...

@shelhamer
Copy link
Member

Please ask on caffe-users. Issues are for development discussion. Thanks!

The core developers don't have RHEL machines, so I'm sorry we can't help with this question. Try installing protobuf from source?

@ghost
Copy link

ghost commented Sep 24, 2014

@lixin7895123 I got the same error and google directed me here. Did you have any luck fixing this?

@lixin7895123
Copy link
Author

@Russell91
NO, I give up on fixing it.
using another computer now.

@ghost
Copy link

ghost commented Sep 29, 2014

@lixin7895123 The problem on my machine ended up being that the version of libprotobuf available through yum was out of date. I installed it by hand from https://github.com/google/protobuf/ using the simple instructions in the readme and got all the tests to pass.

@davidbrodbeck
Copy link

I was just banging my head against this same problem. Maybe a minimum version of protobuf should be specified in the installation instructions? It will compile fine against v2.3.0, but apparently won't run with it.

@rookiepig
Copy link

When using protobuf version 2.3.1, I ran into the same problem. Then I compiled v2.6.1 and the problem solved.

@ZijingMao
Copy link

The problem should be the old version of protobuf on RHEL. I have same issue and solved by compiling with a new version of protobuf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants