importCaffeNetwork by Matlab 2017a deep learning toolbox
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Pratik
le 10 Déc 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.
0 commentaires
Voir également
Catégories
En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!