Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

File already exists error #6

Open
swamiviv opened this issue Sep 24, 2015 · 1 comment
Open

File already exists error #6

swamiviv opened this issue Sep 24, 2015 · 1 comment

Comments

@swamiviv
Copy link

Hi,

Sometimes I get the following error when I try to read from a db, following which matlab crashes:

[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):

Any ideas as to why this is happening ?

@kyamagu
Copy link
Owner

kyamagu commented Sep 24, 2015

@swamiviv This is perhaps due to loading caffe.proto file more than once in different MEX file, i.e., using Caffe matlab interface together with matlab-lmdb. See the comment by @jiayuzhou in https://gist.github.com/kyamagu/31a4b6f782670a28098b

The workaround is not to use Caffe matlab interface together, or integrate them into one MEX file like @jiayuzhou did
illidanlab/caffe@a7397da

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

No branches or pull requests

2 participants