importCaffeNetwork by Matlab 2017a deep learning toolbox

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Pratik
Pratik il 10 Dic 2024
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.

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by