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!