protobuf :: internal :: GetEmptyStringAlreadyInited():断言`empty_string_!= __null'失败

时间:2016-08-04 13:10:13

标签: python tensorflow deep-learning caffe

我尝试使用Places365 datasetcaffe to tensorflow预训练的VGG16权重从caffe转换为tensorflow。但是我遇到了以下错误:

kang@herakles:~/Documents/work_code_PC1/caffe-tensorflow$ python convert.py deploy_vgg16_places365.prototxt --caffemodel vgg16_places365.caffemodel --data-output-path placesnet.npy --code-output-path placesnet.py
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
python: ./google/protobuf/generated_message_util.h:80: const string& google::protobuf::internal::GetEmptyStringAlreadyInited(): Assertion `empty_string_ != __null' failed.
Aborted (core dumped)

如何修复该错误? 非常感谢你。

0 个答案:

没有答案