Atlas icon indicating copy to clipboard operation
Atlas copied to clipboard

Protocol Buffer library not compatible

Open philipproy opened this issue 2 years ago • 3 comments

When running the inference ant train script with the sample data and the suggested model in the provided docker, following error occurs:

[libprotobuf FATAL google/protobuf/stubs/common.cc:83] This program was compiled against version 3.5.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.19.2). Contact the program author for an update. 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 "/tmp/build/80754af9/opencv-suite_1535558553474/work/modules/dnn/misc/caffe/opencv-caffe.pb.cc".) terminate called after throwing an instance of 'google::protobuf::FatalException' what(): This program was compiled against version 3.5.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.19.2). Contact the program author for an update. 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 "/tmp/build/80754af9/opencv-suite_1535558553474/work/modules/dnn/misc/caffe/opencv-caffe.pb.cc".) Aborted (core dumped)

philipproy avatar Jan 11 '22 15:01 philipproy

Did you solve this problem? I have the same issue

GJHUB avatar Feb 22 '22 13:02 GJHUB

Im using ubuntu 20.04, pytorch 1.10, same problem

ky-zhou avatar Apr 25 '22 13:04 ky-zhou

Was also having the same issue on Ubuntu 20.04, cuda 11. Installing (using conda) pytorch 1.7.0 cudatoolkit 11.0 and detectron2 0.5 solved it

rakeshshrestha31 avatar Jun 03 '22 19:06 rakeshshrestha31