importCaffeNetwork by Matlab 2017a deep learning toolbox
2 次查看(过去 30 天)
显示 更早的评论
When I tried to use Matlab 2017a Deep Learning Toolbox to import caffe model, it showed errors.
Error using nnet.internal.cnn.caffe.mexcaffe Invalid MEX-file '/home/yunyang/Documents/MATLAB/SupportPackages/R2017a/toolbox/nnet/supportpackages/caffe_importer/+nnet/+internal/+cnn/+caffe/mexcaffe.mexa64': /home/yunyang/Documents/MATLAB/SupportPackages/R2017a/toolbox/nnet/supportpackages/caffe_importer/+nnet/+internal/+cnn/+caffe/mexcaffe.mexa64: undefined symbol: _ZNK6google8protobuf7Message11GetTypeNameEv. Error in nnet.internal.cnn.caffe.CaffeModelReader (line 122) int32(nnet.internal.cnn.caffe.CaffeLibraryFunctionType.EReadNetStructureFromTextFile), ... Error in importCaffeNetwork (line 80) readerObj = nnet.internal.cnn.caffe.CaffeModelReader(protofile, 'Datafile', ...
My machine configuration:
Matlab 2017a Ubuntu 16.04 64bit OS
0 个评论
回答(1 个)
Pratik
2024-12-10
Hi Yunyang,
The issue with "importCaffeNetwork" could be due to incompatibility of the protobuf file.
If you export "LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libprotobuf.so.9", MATLAB does not work for deep learning. If you delete this, MATLAB will work correctly.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!