Skip to content

GPU only: Python Caffe fails with google::protobuf error #4693

@SergeMv

Description

@SergeMv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions