If I compile the official Caffe CPU docker, then everything works fine. However if I compile the official GPU docker (nvidia-docker one), then I get the following error when I run a Python script that uses Caffe:
[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: caffe.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:954] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
I use the latest version of Caffe pulled by the docker installation from the git repo.