gcucurull / caffe-conf-matrix

Python layer for the Caffe deep learning framework to compute the accuracy and the confusion matrix.
18 stars 8 forks source link

libprotobuf FATAL google/protobuf/stubs/common.cc:61 #2

Open JimmyLauren opened 6 years ago

JimmyLauren commented 6 years ago

Hi, thanks for your code. but i got an error while i was using your code and its like this. i've tried to reinstall the libprotobuf-dev, but it seems that the version 3.5.0 can only be installed on ubuntu 17. any suggestion on that?

the error is like this: [libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "google/protobuf/descriptor.pb.cc".) terminate called after throwing an instance of 'google::protobuf::FatalException' what(): This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "google/protobuf/descriptor.pb.cc".) Aborted at 1517104935 (unix time) try "date -d @1517104935" if you are using GNU date PC: @ 0x7f241e26f428 (unknown) SIGABRT (@0x4c68) received by PID 19560 (TID 0x7f2420d9e1c0) from PID 19560; stack trace: @ 0x7f241e26f4b0 (unknown) @ 0x7f241e26f428 (unknown) @ 0x7f241e27102a (unknown) @ 0x7f241f08384d (unknown) @ 0x7f241f0816b6 (unknown) @ 0x7f241f081701 (unknown) @ 0x7f241f081919 (unknown) @ 0x7f241f5c7647 (unknown) @ 0x7f241f5c787d (unknown) @ 0x7f23a367d947 protobuf_google_2fprotobuf_2fdescriptor_2eproto::InitDefaultsFileDescriptorSetImpl() @ 0x7f241f5c7f75 (unknown) @ 0x7f23a3677a25 protobuf_google_2fprotobuf_2fdescriptor_2eproto::InitDefaultsFileDescriptorSet() @ 0x7f23a36785b9 protobuf_google_2fprotobuf_2fdescriptor_2eproto::AddDescriptorsImpl() @ 0x7f241f5c7f75 (unknown) @ 0x7f23a3678bd5 protobuf_google_2fprotobuf_2fdescriptor_2eproto::AddDescriptors() @ 0x7f2420bfa6ba (unknown) @ 0x7f2420bfa7cb (unknown) @ 0x7f2420bff8e2 (unknown) @ 0x7f2420bfa564 (unknown) @ 0x7f2420bfeda9 (unknown) @ 0x7f2406e4af09 (unknown) @ 0x7f2420bfa564 (unknown) @ 0x7f2406e4b571 (unknown) @ 0x7f2406e4afa1 (unknown) @ 0x7f241e8f78dd (unknown) @ 0x7f241e96654e (unknown) @ 0x7f241e967390 (unknown) @ 0x7f241e967658 (unknown) @ 0x7f241e96876b (unknown) @ 0x7f241e8d28b8 (unknown) @ 0x7f241e92b273 (unknown) @ 0x7f241ea01487 (unknown) Aborted (core dumped)

gcucurull commented 6 years ago

Does this error happen only when you are using the Python Layer?