【发布时间】:2017-04-27 15:17:58
【问题描述】:
有没有人在 Raspberry Pi 2 上成功启动 Caffe?我安装了 OpenCV 和 Caffe 没有错误(最终)。但是当我启动使用 OpenCV 和 Caffe 的 C++ 代码时,它会抛出这个错误:
[libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: caffe.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1018] 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):
Aborted
我尝试安装更新的 protobuf 版本,但没有帮助。有人认为这是由于使用了动态库,但此 C++ 代码在 GPU 和 CPU 模式下的其他设备上运行良好。它使用大约 600MB 的 RAM,而 R. Pi 有 822MB 的可用 RAM。
【问题讨论】:
标签: protocol-buffers caffe raspberry-pi2