原本只用编译好的caffe来finetune,不需配置接口,两天就配好了 然而为了中间层输出,要配置matlab接口,花了一个星期才搞定。 服务器的版本情况是: ubuntu16.04 cuda8.0 opencv3.3.0 protobuf2.6.1 matlab2017b gcc5.4
编译caffe,按照其他博客的教程很快就弄好了
make all -j16 make test -j16 make runtest -j16之后需要改一下makefile.config的matlab的安装地址和makefile文件的两处地方,
make matcaffe -j16能成功,结果如下:
MEX matlab/+caffe/private/caffe_.cpp Building with 'g++'. Warning: You are using gcc version '5.4.0'. The version of gcc is not supported. The version currently supported with MEX is '4.9.x'. For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release. MEX completed successfully.忽略掉warning,别没事找事给gcc降级,之后会连caffe都编译不过
之后
make mattest出现一系列问题,(对于matlab2014,2015版本的基本上参考链接的博客都可以解决) 大都是matlab的库和系统库的冲突引起的: 一些是undefined symbol:的问题:
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4:/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4:/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4:/usr/lib/x86_64-linux-gnu/libstdc++.so.6:/usr/lib/x86_64-linux-gnu/libfreetype.so.6:/usr/lib/x86_64-linux-gnu/libstdc++.so.6 export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:/usr/local/cuda-8.0/lib64若还出现一些libtiff.so.5的相关错误,则把libtiff.so.5也加进去LD_PRELOAD 则:
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:/usr/local/cuda-8.0/lib64 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4:/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4:/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4:/usr/lib/x86_64-linux-gnu/libstdc++.so.6:/usr/lib/x86_64-linux-gnu/libfreetype.so.6:/usr/lib/x86_64-linux-gnu/libtiff.so.5注意export只是临时有效的,若要永久有效,写入环境变量
vim ~/.bashrc //末尾添加 export LD_PRELOAD= export LD_LIBRARY_PATH= //刷新 source ~/.bashrc写入内容参考前面内容,对于matlab2014,2015版本都能解决
对于matlab2017b 楼主遇到如下问题:
cd matlab; /usr/local/matlab/2017b/bin/matlab -nodisplay -r 'caffe.run_tests(), exit()' < M A T L A B (R) > Copyright 1984-2017 The MathWorks, Inc. R2017b (9.3.0.713579) 64-bit (glnxa64) September 14, 2017 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. Invalid MEX-file '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64': Missing symbol '_ZN6google8protobuf11MessageLite15ParseFromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf14MessageFactory29InternalRegisterGeneratedFileEPKcPFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf2io17CodedOutputStream26WriteStringWithSizeToArrayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPh' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal10NameOfEnumB5cxx11EPKNS0_14EnumDescriptorEi' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal13empty_string_B5cxx11E' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal14WireFormatLite10ReadStringEPNS0_2io16CodedInputStreamEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal14WireFormatLite11WriteStringEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS0_2io17CodedOutputStreamE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal14WireFormatLite22WriteBytesMaybeAliasedEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS0_2io17CodedOutputStreamE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal14WireFormatLite23WriteStringMaybeAliasedEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS0_2io17CodedOutputStreamE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal14WireFormatLite9ReadBytesEPNS0_2io16CodedInputStreamEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal21StringTypeHandlerBase3NewB5cxx11Ev' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZN6google8protobuf8internal21StringTypeHandlerBase6DeleteEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNK6google8protobuf14DescriptorPool14FindFileByNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNK6google8protobuf7Message11DebugStringB5cxx11Ev' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNK6google8protobuf7Message11GetTypeNameB5cxx11Ev' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNK6google8protobuf7Message25InitializationErrorStringB5cxx11Ev' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmPKc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt11logic_errorC2ERKS_' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt12domain_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt12out_of_rangeC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt13runtime_errorC1EPKc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt13runtime_errorC2EPKc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt13runtime_errorC2ERKS_' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt14overflow_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEmc' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_eraseEmm' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_Unwind_Resume' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE7_M_syncEPcmm' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcmm' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_eraseEmm' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libgflags.so.2->/usr/lib/x86_64-linux-gnu/libglog.so.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEPKcmm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcmm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofEPKcmm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt13runtime_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_eraseEmm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE10_M_replaceEmmPKwm' required by '/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEmc' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm' required by '/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEmc' required by '/usr/lib/x86_64-linux-gnu/libsnappy.so.1->/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/lib/x86_64-linux-gnu/libsnappy.so.1->/usr/local/lib/libleveldb.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcmm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE7_M_syncEPcmm' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/local/lib/libopencv_core.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEPKc' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEmc' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_eraseEmm' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcmm' required by '/usr/lib/x86_64-linux-gnu/libIex-2_2.so.12->/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/lib/x86_64-linux-gnu/libIex-2_2.so.12->/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/lib/x86_64-linux-gnu/libIex-2_2.so.12->/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/lib/x86_64-linux-gnu/libIex-2_2.so.12->/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libIex-2_2.so.12->/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libIlmThread-2_2.so.12->/usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22->/usr/local/lib/libopencv_imgcodecs.so.3.3->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt13runtime_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt13runtime_errorC2ERKS_' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_eraseEmm' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZSt9use_facetINSt7__cxx118numpunctIcEEERKT_RKSt6locale' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'dlclose' required by '/usr/local/matlab/2017b/bin/glnxa64/libnccl.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'dlerror' required by '/usr/local/matlab/2017b/bin/glnxa64/libnccl.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'dlopen' required by '/usr/local/matlab/2017b/bin/glnxa64/libnccl.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'dlsym' required by '/usr/local/matlab/2017b/bin/glnxa64/libnccl.so.1->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyArg_ParseTupleAndKeywords' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyBaseObject_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyBool_FromLong' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyBool_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyCallable_Check' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyCFunction_NewEx' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyCFunction_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyClass_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyComplex_ImagAsDouble' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyComplex_RealAsDouble' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyComplex_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_Clear' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_Copy' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_GetItem' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_GetItemString' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_Items' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_Keys' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_New' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_Size' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_Update' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyDict_Values' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_Clear' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_ExceptionMatches' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_Format' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_NewException' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_NoMemory' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_Occurred' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_SetObject' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_SetString' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyErr_WarnEx' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyEval_CallFunction' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyEval_GetGlobals' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_PyEval_SliceIndex' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_AttributeError' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_ImportError' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_IndexError' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_OverflowError' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_ReferenceError' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_RuntimeError' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_StopIteration' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_TypeError' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyExc_ValueError' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyFile_AsFile' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyFile_FromString' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyFloat_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyImport_Import' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyImport_ImportModule' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'Py_InitModule4_64' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyInt_AsLong' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyInt_FromLong' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyInt_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyIter_Next' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyList_Append' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyList_Insert' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyList_New' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyList_Reverse' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyList_Sort' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyList_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyLong_AsLongLong' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyLong_AsUnsignedLong' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyLong_AsUnsignedLongLong' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyLong_FromUnsignedLong' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyLong_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyMem_Free' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyMem_Malloc' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyMethod_New' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyMethod_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyModule_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_Py_NoneStruct' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_Py_NotImplementedStruct' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Add' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_And' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Divide' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceAdd' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceAnd' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceDivide' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceLshift' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceMultiply' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceOr' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceRemainder' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceRshift' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceSubtract' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_InPlaceXor' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Lshift' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Multiply' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Or' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Remainder' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Rshift' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Subtract' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyNumber_Xor' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_CallFunction' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_CallMethod' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_ClearWeakRefs' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_DelItem' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_GetAttr' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_GetAttrString' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_GetItem' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_IsInstance' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_IsTrue' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_PyObject_New' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_RichCompare' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_SetAttr' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_SetAttrString' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_SetItem' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyObject_Size' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyProperty_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyRun_FileExFlags' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyRun_StringFlags' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PySequence_DelSlice' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PySequence_GetSlice' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PySequence_SetSlice' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PySlice_New' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyStaticMethod_New' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyStaticMethod_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyString_AsString' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyString_FromFormat' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyString_FromString' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyString_FromStringAndSize' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyString_InternFromString' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyString_Size' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyString_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyTuple_GetItem' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyTuple_New' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyTuple_Size' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyTuple_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyType_GenericAlloc' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyType_IsSubtype' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_PyType_Lookup' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyType_Ready' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyType_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyUnicode_Type' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyUnicodeUCS4_AsWideChar' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyUnicodeUCS4_FromEncodedObject' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol 'PyWeakref_NewRef' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt11range_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt13runtime_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt13runtime_errorC2ERKS_' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt16invalid_argumentC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE12_M_constructEmw' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64' Missing symbol '_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_createERmm' required by '/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.58.0->/mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64'. Error in caffe.set_mode_cpu (line 5) caffe_('set_mode_cpu'); Error in caffe.run_tests (line 6) caffe.set_mode_cpu(); >> [1]+ Stopped make mattest -j16楼主按照前文方法改一下具体的库
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6:/usr/lib/x86_64-linux-gnu/libprotobuf.so.9出现新的问题:
cd matlab; /usr/local/matlab/2017b/bin/matlab -nodisplay -r 'caffe.run_tests(), exit()' < M A T L A B (R) > Copyright 1984-2017 The MathWorks, Inc. R2017b (9.3.0.713579) 64-bit (glnxa64) September 14, 2017 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. Cleared 0 solvers and 0 stand-alone nets WARNING: Logging before InitGoogleLogging() is written to STDERR I0522 09:53:49.203147 167798 net.cpp:53] Initializing net from parameters: name: "testnet" force_backward: true state { phase: TRAIN level: 0 } layer { name: "data" type: "DummyData" top: "data" top: "label" dummy_data_param { data_filler { type: "gaussian" std: 1 } data_filler { type: "constant" } num: 5 num: 5 channels: 2 channels: 1 height: 3 height: 1 width: 4 width: 1 } } layer { name: "conv" type: "Convolution" bottom: "data" top: "conv" param { decay_mult: 1 } param { decay_mult: 0 } convolution_param { num_output: 11 pad: 3 kernel_size: 2 weight_filler { type: "gaussian" std: 1 } bias_filler { type: "constant" value: 2 } } } layer { name: "ip" type: "InnerProduct" bottom: "conv" top: "ip" inner_product_param { num_output: 13 weight_filler { type: "gaussian" std: 2.5 } bias_filler { type: "constant" value: -3 } } } layer { name: "loss" type: "SoftmaxWithLoss" bottom: "ip" bottom: "label" top: "loss" } I0522 09:53:49.205015 167798 layer_factory.hpp:77] Creating layer data I0522 09:53:49.205099 167798 net.cpp:86] Creating Layer data I0522 09:53:49.205163 167798 net.cpp:382] data -> data I0522 09:53:49.205230 167798 net.cpp:382] data -> label I0522 09:53:49.205283 167798 net.cpp:124] Setting up data I0522 09:53:49.205329 167798 net.cpp:131] Top shape: 5 2 3 4 (120) I0522 09:53:49.205358 167798 net.cpp:131] Top shape: 5 1 1 1 (5) I0522 09:53:49.205385 167798 net.cpp:139] Memory required for data: 500 I0522 09:53:49.205412 167798 layer_factory.hpp:77] Creating layer conv I0522 09:53:49.205447 167798 net.cpp:86] Creating Layer conv I0522 09:53:49.205474 167798 net.cpp:408] conv <- data I0522 09:53:49.205507 167798 net.cpp:382] conv -> conv I0522 09:53:49.205559 167798 net.cpp:124] Setting up conv I0522 09:53:49.205591 167798 net.cpp:131] Top shape: 5 11 8 9 (3960) I0522 09:53:49.205617 167798 net.cpp:139] Memory required for data: 16340 I0522 09:53:49.205651 167798 layer_factory.hpp:77] Creating layer ip I0522 09:53:49.205682 167798 net.cpp:86] Creating Layer ip I0522 09:53:49.205709 167798 net.cpp:408] ip <- conv I0522 09:53:49.205741 167798 net.cpp:382] ip -> ip I0522 09:53:49.205932 167798 net.cpp:124] Setting up ip I0522 09:53:49.205976 167798 net.cpp:131] Top shape: 5 13 (65) I0522 09:53:49.206012 167798 net.cpp:139] Memory required for data: 16600 I0522 09:53:49.206050 167798 layer_factory.hpp:77] Creating layer loss I0522 09:53:49.206089 167798 net.cpp:86] Creating Layer loss I0522 09:53:49.206125 167798 net.cpp:408] loss <- ip I0522 09:53:49.206158 167798 net.cpp:408] loss <- label I0522 09:53:49.206194 167798 net.cpp:382] loss -> loss I0522 09:53:49.206236 167798 layer_factory.hpp:77] Creating layer loss I0522 09:53:49.206282 167798 net.cpp:124] Setting up loss I0522 09:53:49.206321 167798 net.cpp:131] Top shape: (1) I0522 09:53:49.206354 167798 net.cpp:134] with loss weight 1 I0522 09:53:49.206404 167798 net.cpp:139] Memory required for data: 16604 I0522 09:53:49.206439 167798 net.cpp:200] loss needs backward computation. I0522 09:53:49.206476 167798 net.cpp:200] ip needs backward computation. I0522 09:53:49.206511 167798 net.cpp:200] conv needs backward computation. I0522 09:53:49.206545 167798 net.cpp:202] data does not need backward computation. I0522 09:53:49.206581 167798 net.cpp:244] This network produces output loss I0522 09:53:49.206619 167798 net.cpp:257] Network initialization done. I0522 09:53:49.237085 167798 net.cpp:53] Initializing net from parameters: name: "testnet" force_backward: true state { phase: TRAIN level: 0 } layer { name: "data" type: "DummyData" top: "data" top: "label" dummy_data_param { data_filler { type: "gaussian" std: 1 } data_filler { type: "constant" } num: 5 num: 5 channels: 2 channels: 1 height: 3 height: 1 width: 4 width: 1 } } layer { name: "conv" type: "Convolution" bottom: "data" top: "conv" param { decay_mult: 1 } param { decay_mult: 0 } convolution_param { num_output: 11 pad: 3 kernel_size: 2 weight_filler { type: "gaussian" std: 1 } bias_filler { type: "constant" value: 2 } } } layer { name: "ip" type: "InnerProduct" bottom: "conv" top: "ip" inner_product_param { num_output: 13 weight_filler { type: "gaussian" std: 2.5 } bias_filler { type: "constant" value: -3 } } } layer { name: "loss" type: "SoftmaxWithLoss" bottom: "ip" bottom: "label" top: "loss" } I0522 09:53:49.237298 167798 layer_factory.hpp:77] Creating layer data I0522 09:53:49.237334 167798 net.cpp:86] Creating Layer data I0522 09:53:49.237344 167798 net.cpp:382] data -> data I0522 09:53:49.237361 167798 net.cpp:382] data -> label I0522 09:53:49.237381 167798 net.cpp:124] Setting up data I0522 09:53:49.237393 167798 net.cpp:131] Top shape: 5 2 3 4 (120) I0522 09:53:49.237401 167798 net.cpp:131] Top shape: 5 1 1 1 (5) I0522 09:53:49.237407 167798 net.cpp:139] Memory required for data: 500 I0522 09:53:49.237413 167798 layer_factory.hpp:77] Creating layer conv I0522 09:53:49.237442 167798 net.cpp:86] Creating Layer conv I0522 09:53:49.237449 167798 net.cpp:408] conv <- data I0522 09:53:49.237460 167798 net.cpp:382] conv -> conv I0522 09:53:49.237496 167798 net.cpp:124] Setting up conv I0522 09:53:49.237505 167798 net.cpp:131] Top shape: 5 11 8 9 (3960) I0522 09:53:49.237510 167798 net.cpp:139] Memory required for data: 16340 I0522 09:53:49.237524 167798 layer_factory.hpp:77] Creating layer ip I0522 09:53:49.237532 167798 net.cpp:86] Creating Layer ip I0522 09:53:49.237538 167798 net.cpp:408] ip <- conv I0522 09:53:49.237546 167798 net.cpp:382] ip -> ip I0522 09:53:49.237707 167798 net.cpp:124] Setting up ip I0522 09:53:49.237720 167798 net.cpp:131] Top shape: 5 13 (65) I0522 09:53:49.237726 167798 net.cpp:139] Memory required for data: 16600 I0522 09:53:49.237736 167798 layer_factory.hpp:77] Creating layer loss I0522 09:53:49.237746 167798 net.cpp:86] Creating Layer loss I0522 09:53:49.237752 167798 net.cpp:408] loss <- ip I0522 09:53:49.237758 167798 net.cpp:408] loss <- label I0522 09:53:49.237771 167798 net.cpp:382] loss -> loss I0522 09:53:49.237782 167798 layer_factory.hpp:77] Creating layer loss I0522 09:53:49.237802 167798 net.cpp:124] Setting up loss I0522 09:53:49.237810 167798 net.cpp:131] Top shape: (1) I0522 09:53:49.237815 167798 net.cpp:134] with loss weight 1 I0522 09:53:49.237831 167798 net.cpp:139] Memory required for data: 16604 I0522 09:53:49.237838 167798 net.cpp:200] loss needs backward computation. I0522 09:53:49.237844 167798 net.cpp:200] ip needs backward computation. I0522 09:53:49.237850 167798 net.cpp:200] conv needs backward computation. I0522 09:53:49.237857 167798 net.cpp:202] data does not need backward computation. I0522 09:53:49.237864 167798 net.cpp:244] This network produces output loss I0522 09:53:49.237875 167798 net.cpp:257] Network initialization done. Running caffe.test.test_net ..W0522 09:53:57.621332 167798 net.hpp:41] DEPRECATED: ForwardPrefilled() will be removed in a future version. Use Forward(). ..I0522 09:53:57.833024 167798 net.cpp:53] Initializing net from parameters: name: "testnet" force_backward: true state { phase: TRAIN level: 0 } layer { name: "data" type: "DummyData" top: "data" top: "label" dummy_data_param { data_filler { type: "gaussian" std: 1 } data_filler { type: "constant" } num: 5 num: 5 channels: 2 channels: 1 height: 3 height: 1 width: 4 width: 1 } } layer { name: "conv" type: "Convolution" bottom: "data" top: "conv" param { decay_mult: 1 } param { decay_mult: 0 } convolution_param { num_output: 11 pad: 3 kernel_size: 2 weight_filler { type: "gaussian" std: 1 } bias_filler { type: "constant" value: 2 } } } layer { name: "ip" type: "InnerProduct" bottom: "conv" top: "ip" inner_product_param { num_output: 13 weight_filler { type: "gaussian" std: 2.5 } bias_filler { type: "constant" value: -3 } } } layer { name: "loss" type: "SoftmaxWithLoss" bottom: "ip" bottom: "label" top: "loss" } I0522 09:53:57.834883 167798 layer_factory.hpp:77] Creating layer data I0522 09:53:57.834931 167798 net.cpp:86] Creating Layer data I0522 09:53:57.834975 167798 net.cpp:382] data -> data I0522 09:53:57.835016 167798 net.cpp:382] data -> label I0522 09:53:57.835067 167798 net.cpp:124] Setting up data I0522 09:53:57.835108 167798 net.cpp:131] Top shape: 5 2 3 4 (120) I0522 09:53:57.835144 167798 net.cpp:131] Top shape: 5 1 1 1 (5) I0522 09:53:57.835175 167798 net.cpp:139] Memory required for data: 500 I0522 09:53:57.835207 167798 layer_factory.hpp:77] Creating layer conv I0522 09:53:57.835253 167798 net.cpp:86] Creating Layer conv I0522 09:53:57.835286 167798 net.cpp:408] conv <- data I0522 09:53:57.835322 167798 net.cpp:382] conv -> conv I0522 09:53:57.835386 167798 net.cpp:124] Setting up conv I0522 09:53:57.835425 167798 net.cpp:131] Top shape: 5 11 8 9 (3960) I0522 09:53:57.835456 167798 net.cpp:139] Memory required for data: 16340 I0522 09:53:57.835495 167798 layer_factory.hpp:77] Creating layer ip I0522 09:53:57.835532 167798 net.cpp:86] Creating Layer ip I0522 09:53:57.835573 167798 net.cpp:408] ip <- conv I0522 09:53:57.835608 167798 net.cpp:382] ip -> ip I0522 09:53:57.835798 167798 net.cpp:124] Setting up ip I0522 09:53:57.835839 167798 net.cpp:131] Top shape: 5 13 (65) I0522 09:53:57.835872 167798 net.cpp:139] Memory required for data: 16600 I0522 09:53:57.835907 167798 layer_factory.hpp:77] Creating layer loss I0522 09:53:57.835948 167798 net.cpp:86] Creating Layer loss I0522 09:53:57.835980 167798 net.cpp:408] loss <- ip I0522 09:53:57.836012 167798 net.cpp:408] loss <- label I0522 09:53:57.836045 167798 net.cpp:382] loss -> loss I0522 09:53:57.836083 167798 layer_factory.hpp:77] Creating layer loss I0522 09:53:57.836140 167798 net.cpp:124] Setting up loss I0522 09:53:57.836176 167798 net.cpp:131] Top shape: (1) I0522 09:53:57.836207 167798 net.cpp:134] with loss weight 1 I0522 09:53:57.836249 167798 net.cpp:139] Memory required for data: 16604 I0522 09:53:57.836280 167798 net.cpp:200] loss needs backward computation. I0522 09:53:57.836315 167798 net.cpp:200] ip needs backward computation. I0522 09:53:57.836352 167798 net.cpp:200] conv needs backward computation. I0522 09:53:57.836385 167798 net.cpp:202] data does not need backward computation. I0522 09:53:57.836416 167798 net.cpp:244] This network produces output loss I0522 09:53:57.836452 167798 net.cpp:257] Network initialization done. I0522 09:53:57.851176 167798 net.cpp:53] Initializing net from parameters: name: "testnet" force_backward: true state { phase: TRAIN level: 0 } layer { name: "data" type: "DummyData" top: "data" top: "label" dummy_data_param { data_filler { type: "gaussian" std: 1 } data_filler { type: "constant" } num: 5 num: 5 channels: 2 channels: 1 height: 3 height: 1 width: 4 width: 1 } } layer { name: "conv" type: "Convolution" bottom: "data" top: "conv" param { decay_mult: 1 } param { decay_mult: 0 } convolution_param { num_output: 11 pad: 3 kernel_size: 2 weight_filler { type: "gaussian" std: 1 } bias_filler { type: "constant" value: 2 } } } layer { name: "ip" type: "InnerProduct" bottom: "conv" top: "ip" inner_product_param { num_output: 13 weight_filler { type: "gaussian" std: 2.5 } bias_filler { type: "constant" value: -3 } } } layer { name: "loss" type: "SoftmaxWithLoss" bottom: "ip" bottom: "label" top: "loss" } I0522 09:53:57.852932 167798 layer_factory.hpp:77] Creating layer data I0522 09:53:57.852977 167798 net.cpp:86] Creating Layer data I0522 09:53:57.853020 167798 net.cpp:382] data -> data I0522 09:53:57.853060 167798 net.cpp:382] data -> label I0522 09:53:57.853106 167798 net.cpp:124] Setting up data I0522 09:53:57.853144 167798 net.cpp:131] Top shape: 5 2 3 4 (120) I0522 09:53:57.853176 167798 net.cpp:131] Top shape: 5 1 1 1 (5) I0522 09:53:57.853206 167798 net.cpp:139] Memory required for data: 500 I0522 09:53:57.853236 167798 layer_factory.hpp:77] Creating layer conv I0522 09:53:57.853283 167798 net.cpp:86] Creating Layer conv I0522 09:53:57.853319 167798 net.cpp:408] conv <- data I0522 09:53:57.853356 167798 net.cpp:382] conv -> conv I0522 09:53:57.853413 167798 net.cpp:124] Setting up conv I0522 09:53:57.853449 167798 net.cpp:131] Top shape: 5 11 8 9 (3960) I0522 09:53:57.853479 167798 net.cpp:139] Memory required for data: 16340 I0522 09:53:57.853519 167798 layer_factory.hpp:77] Creating layer ip I0522 09:53:57.853556 167798 net.cpp:86] Creating Layer ip I0522 09:53:57.853586 167798 net.cpp:408] ip <- conv I0522 09:53:57.853619 167798 net.cpp:382] ip -> ip I0522 09:53:57.853817 167798 net.cpp:124] Setting up ip I0522 09:53:57.853857 167798 net.cpp:131] Top shape: 5 13 (65) I0522 09:53:57.853888 167798 net.cpp:139] Memory required for data: 16600 I0522 09:53:57.853922 167798 layer_factory.hpp:77] Creating layer loss I0522 09:53:57.853956 167798 net.cpp:86] Creating Layer loss I0522 09:53:57.853986 167798 net.cpp:408] loss <- ip I0522 09:53:57.854017 167798 net.cpp:408] loss <- label I0522 09:53:57.854051 167798 net.cpp:382] loss -> loss I0522 09:53:57.854086 167798 layer_factory.hpp:77] Creating layer loss I0522 09:53:57.854130 167798 net.cpp:124] Setting up loss I0522 09:53:57.854162 167798 net.cpp:131] Top shape: (1) I0522 09:53:57.854192 167798 net.cpp:134] with loss weight 1 I0522 09:53:57.854228 167798 net.cpp:139] Memory required for data: 16604 I0522 09:53:57.854260 167798 net.cpp:200] loss needs backward computation. I0522 09:53:57.854293 167798 net.cpp:200] ip needs backward computation. I0522 09:53:57.854323 167798 net.cpp:200] conv needs backward computation. I0522 09:53:57.854354 167798 net.cpp:202] data does not need backward computation. I0522 09:53:57.854384 167798 net.cpp:244] This network produces output loss I0522 09:53:57.854416 167798 net.cpp:257] Network initialization done. . Done caffe.test.test_net __________ Attempt to restart MATLAB? [y or n]>>n ------------------------------------------------------------------------ Segmentation violation detected at Wed May 22 09:53:58 2019 ------------------------------------------------------------------------ Configuration: Crash Decoding : Disabled - No sandbox or build area path Crash Mode : continue (default) Current Graphics Driver: Unknown software Current Visual : None Default Encoding : UTF-8 Deployed : false GNU C Library : 2.23 stable Host Name : ubuntu MATLAB Architecture : glnxa64 MATLAB Entitlement ID: 6257193 MATLAB Root : /usr/local/matlab/2017b MATLAB Version : 9.3.0.713579 (R2017b) OpenGL : software Operating System : Linux 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 Processor ID : x86 Family 6 Model 79 Stepping 1, GenuineIntel Virtual Machine : Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode Window System : No active display Fault Count: 1 Abnormal termination: Segmentation violation Register State (from fault): RAX = 00007fe000333534 RBX = 00007fe000333533 RCX = 00007fdf6386f000 RDX = 00007fe000333533 RSP = 00007fe0d0fc9420 RBP = 00007fe0d0fc9470 RSI = 00007fe0d0fc9550 RDI = 00007fe0d0fc9470 R8 = 0000ffbf63ba2533 R9 = 0000000000000000 R10 = 000000000000007b R11 = 00007fe0ecdef9c0 R12 = 00007fe0d0fc9550 R13 = 00007fdf6386ed80 R14 = 00007fe0d0fc96c0 R15 = 00007fe0d0fca1a8 RIP = 00007fe0ecdefa5b EFL = 0000000000010202 CS = 0033 FS = 0000 GS = 0000 Stack Trace (from fault): [ 0] 0x00007fe0ecdefa5b /usr/local/matlab/2017b/bin/glnxa64/libboost_filesystem.so.1.56.0+00059995 _ZNK5boost10filesystem4path8filenameEv+00000155 [ 1] 0x00007fe0ecdf0b36 /usr/local/matlab/2017b/bin/glnxa64/libboost_filesystem.so.1.56.0+00064310 _ZNK5boost10filesystem4path9extensionEv+00000022 [ 2] 0x00007fe0ecdf0c62 /usr/local/matlab/2017b/bin/glnxa64/libboost_filesystem.so.1.56.0+00064610 _ZN5boost10filesystem4path17replace_extensionERKS1_+00000034 [ 3] 0x00007fdfcee976d8 /mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64+02279128 [ 4] 0x00007fdfcee97b30 /mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64+02280240 [ 5] 0x00007fdfcecb3faf /mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64+00298927 [ 6] 0x00007fdfcecb12f2 /mnt/ljy/zy/caffe-master-gpu/matlab/+caffe/private/caffe_.mexa64+00287474 mexFunction+00000169 [ 7] 0x00007fe0de86f3c7 bin/glnxa64/libmex.so+00172999 mexRunMexFile+00000439 [ 8] 0x00007fe0de868c23 bin/glnxa64/libmex.so+00146467 [ 9] 0x00007fe0de869385 bin/glnxa64/libmex.so+00148357 [ 10] 0x00007fe0e05dac83 bin/glnxa64/libmwm_dispatcher.so+00830595 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000947 [ 11] 0x00007fe0e05db54e bin/glnxa64/libmwm_dispatcher.so+00832846 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000030 [ 12] 0x00007fe0dcc4690a bin/glnxa64/libmwm_lxe.so+12519690 [ 13] 0x00007fe0dcc47d9e bin/glnxa64/libmwm_lxe.so+12524958 [ 14] 0x00007fe0dcd08779 bin/glnxa64/libmwm_lxe.so+13313913 [ 15] 0x00007fe0dccadeb1 bin/glnxa64/libmwm_lxe.so+12943025 [ 16] 0x00007fe0dc595e50 bin/glnxa64/libmwm_lxe.so+05504592 [ 17] 0x00007fe0dc5980e4 bin/glnxa64/libmwm_lxe.so+05513444 [ 18] 0x00007fe0dc5948d1 bin/glnxa64/libmwm_lxe.so+05499089 [ 19] 0x00007fe0dc590861 bin/glnxa64/libmwm_lxe.so+05482593 [ 20] 0x00007fe0dc590c89 bin/glnxa64/libmwm_lxe.so+05483657 [ 21] 0x00007fe0dc594100 bin/glnxa64/libmwm_lxe.so+05497088 [ 22] 0x00007fe0dc5941cf bin/glnxa64/libmwm_lxe.so+05497295 [ 23] 0x00007fe0dc6941d1 bin/glnxa64/libmwm_lxe.so+06545873 [ 24] 0x00007fe0dc696f53 bin/glnxa64/libmwm_lxe.so+06557523 [ 25] 0x00007fe0dcb464ce bin/glnxa64/libmwm_lxe.so+11470030 [ 26] 0x00007fe0dcb0b8fa bin/glnxa64/libmwm_lxe.so+11229434 [ 27] 0x00007fe0dcb0be78 bin/glnxa64/libmwm_lxe.so+11230840 [ 28] 0x00007fe0dcb0d6e2 bin/glnxa64/libmwm_lxe.so+11237090 [ 29] 0x00007fe0dcb8324e bin/glnxa64/libmwm_lxe.so+11719246 [ 30] 0x00007fe0dcb83702 bin/glnxa64/libmwm_lxe.so+11720450 [ 31] 0x00007fe0dfed19a1 bin/glnxa64/libmwm_interpreter.so+02431393 _Z51inEvalCmdWithLocalReturnInDesiredWSAndPublishEventsRKSbIDsSt11char_traitsIDsESaIDsEEPibbP15inWorkSpace_tag+00000065 [ 32] 0x00007fe0e1465823 bin/glnxa64/libmwiqm.so+00694307 _ZNK3iqm18InternalEvalPlugin24inEvalCmdWithLocalReturnERKSbIDsSt11char_traitsIDsESaIDsEEP15inWorkSpace_tag+00000083 [ 33] 0x00007fe0e146717b bin/glnxa64/libmwiqm.so+00700795 _ZN3iqm18InternalEvalPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000123 [ 34] 0x00007fe0e0ac140d bin/glnxa64/libmwmcr.so+00656397 [ 35] 0x00007fe0e14588b8 bin/glnxa64/libmwiqm.so+00641208 [ 36] 0x00007fe0e1446db2 bin/glnxa64/libmwiqm.so+00568754 [ 37] 0x00007fe0deaa477a bin/glnxa64/libmwbridge.so+00165754 [ 38] 0x00007fe0deaac1c3 bin/glnxa64/libmwbridge.so+00197059 [ 39] 0x00007fe0deaac2db bin/glnxa64/libmwbridge.so+00197339 [ 40] 0x00007fe0deaac9b7 bin/glnxa64/libmwbridge.so+00199095 _Z8mnParserv+00000647 [ 41] 0x00007fe0e0aa9793 bin/glnxa64/libmwmcr.so+00558995 [ 42] 0x00007fe0e0aab92e bin/glnxa64/libmwmcr.so+00567598 [ 43] 0x00007fe0e0aac099 bin/glnxa64/libmwmcr.so+00569497 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025 [ 44] 0x00007fe0e0aaa8b6 bin/glnxa64/libmwmcr.so+00563382 [ 45] 0x00007fe0e148e259 bin/glnxa64/libmwiqm.so+00860761 [ 46] 0x00007fe0e147ab6c bin/glnxa64/libmwiqm.so+00781164 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028 [ 47] 0x00007fe0e147a84c bin/glnxa64/libmwiqm.so+00780364 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428 [ 48] 0x00007fe0e14588b8 bin/glnxa64/libmwiqm.so+00641208 [ 49] 0x00007fe0e144653f bin/glnxa64/libmwiqm.so+00566591 [ 50] 0x00007fe0e1448759 bin/glnxa64/libmwiqm.so+00575321 [ 51] 0x00007fe0eefe7aba bin/glnxa64/libmwservices.so+02702010 [ 52] 0x00007fe0eefe906f bin/glnxa64/libmwservices.so+02707567 [ 53] 0x00007fe0eefe981a bin/glnxa64/libmwservices.so+02709530 _Z25svWS_ProcessPendingEventsiib+00000186 [ 54] 0x00007fe0e0aa9f0e bin/glnxa64/libmwmcr.so+00560910 [ 55] 0x00007fe0e0aaa2b4 bin/glnxa64/libmwmcr.so+00561844 [ 56] 0x00007fe0e0a97c06 bin/glnxa64/libmwmcr.so+00486406 [ 57] 0x00007fe0edef96ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394 [ 58] 0x00007fe0edc2f41d /lib/x86_64-linux-gnu/libc.so.6+01078301 clone+00000109 [ 59] 0x0000000000000000 <unknown-module>+00000000 This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files. If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/ A technical support engineer might contact you with further information.直接奔溃了,之后万幸换了新的caffe的安装包(caffe-rpnbf-cudnn5-master),把原来的makefile.config和makefile拷贝进去 ,make mattest成功运行了:
Running caffe.test.test_solver I0522 10:33:14.982887 189599 solver.cpp:338] Iteration 0, Testing net (#0) I0522 10:33:14.983533 189599 solver.cpp:406] Test net output #0: loss = 75.6673 (* 1 = 75.6673 loss) I0522 10:33:14.983731 189599 solver.cpp:229] Iteration 0, loss = 84.0629 I0522 10:33:14.983757 189599 solver.cpp:245] Train net output #0: loss = 84.0629 (* 1 = 84.0629 loss) I0522 10:33:14.983775 189599 sgd_solver.cpp:106] Iteration 0, lr = 0.01 I0522 10:33:15.147226 189599 solver.cpp:338] Iteration 10, Testing net (#0) I0522 10:33:15.148039 189599 solver.cpp:406] Test net output #0: loss = 74.6548 (* 1 = 74.6548 loss) I0522 10:33:15.363095 189599 solver.cpp:338] Iteration 20, Testing net (#0) I0522 10:33:15.363759 189599 solver.cpp:406] Test net output #0: loss = 73.2062 (* 1 = 73.2062 loss) I0522 10:33:15.598340 189599 solver.cpp:280] Solving testnet I0522 10:33:15.598479 189599 solver.cpp:281] Learning Rate Policy: inv I0522 10:33:15.598517 189599 solver.cpp:338] Iteration 30, Testing net (#0) I0522 10:33:15.599063 189599 solver.cpp:406] Test net output #0: loss = 83.4087 (* 1 = 83.4087 loss) I0522 10:33:15.855093 189599 solver.cpp:338] Iteration 40, Testing net (#0) I0522 10:33:15.855638 189599 solver.cpp:406] Test net output #0: loss = 64.578 (* 1 = 64.578 loss) I0522 10:33:15.947778 189599 solver.cpp:338] Iteration 50, Testing net (#0) I0522 10:33:15.948276 189599 solver.cpp:406] Test net output #0: loss = 67.2209 (* 1 = 67.2209 loss) I0522 10:33:16.043083 189599 solver.cpp:338] Iteration 60, Testing net (#0) I0522 10:33:16.043715 189599 solver.cpp:406] Test net output #0: loss = 57.9186 (* 1 = 57.9186 loss) I0522 10:33:16.203760 189599 solver.cpp:338] Iteration 70, Testing net (#0) I0522 10:33:16.204354 189599 solver.cpp:406] Test net output #0: loss = 63.992 (* 1 = 63.992 loss) I0522 10:33:16.283592 189599 solver.cpp:338] Iteration 80, Testing net (#0) I0522 10:33:16.284179 189599 solver.cpp:406] Test net output #0: loss = 59.1494 (* 1 = 59.1494 loss) I0522 10:33:16.467087 189599 solver.cpp:338] Iteration 90, Testing net (#0) I0522 10:33:16.467715 189599 solver.cpp:406] Test net output #0: loss = 62.7733 (* 1 = 62.7733 loss) I0522 10:33:16.639156 189599 solver.cpp:318] Iteration 100, loss = 8.11743 I0522 10:33:16.639281 189599 solver.cpp:338] Iteration 100, Testing net (#0) I0522 10:33:16.639783 189599 solver.cpp:406] Test net output #0: loss = 56.8706 (* 1 = 56.8706 loss) I0522 10:33:16.639822 189599 solver.cpp:323] Optimization Done. . Done caffe.test.test_solver __________ Running caffe.test.test_io . Done caffe.test.test_io __________ Cleared 2 solvers and 4 stand-alone nets ans = 1x7 TestResult array with properties: Name Passed Failed Incomplete Duration Details Totals: 7 Passed, 0 Failed, 0 Incomplete. 2.5829 seconds testing time.caffe安装包:
https://github.com/gy1874/caffe-rpnbf-cudnn5对于make mattest 出现的90%问题以下博客都可以解决 参考博客:
https://blog.csdn.net/weixin_42471009/article/details/81543382 http://www.caffecn.cn/?/question/1168 https://www.baidu.com/link?url=DNoGK6uxV6iZiT4banudqx8uzLwpbLhm-5k9gCii5_sMezbFBXBEK8tNgKr7UoeO-JQByfYg2yNNAFr1f3oP1_&wd=&eqid=a2d9480e000002b5000000035ce4a91c https://blog.csdn.net/qq_33003797/article/details/79334923 https://www.cnblogs.com/ariel-dreamland/p/9364535.html https://blog.csdn.net/babytang008/article/details/78631776 https://blog.csdn.net/m0_37407756/article/details/70789271 https://blog.csdn.net/weiqi_fan/article/details/71023222?locationNum=14&fps=1# https://blog.csdn.net/u011681952/article/details/85680067 https://blog.csdn.net/sxs11/article/details/70142415 https://blog.csdn.net/hq86937375/article/details/79689799 http://f.dataguru.cn/thread-917764-1-1.html https://blog.csdn.net/qq_33547191/article/details/79533624 https://blog.csdn.net/sinat_32741771/article/details/54974244 https://blog.csdn.net/lwj_12345678/article/details/79419800 https://www.cnblogs.com/Qsir/p/9105798.html https://blog.csdn.net/tomato_ljl/article/details/79169028对于装了anaconda 和python的朋友,编译matlab接口时建议停用anaconda, 在~./bashrc 中把export anaconda 的那一行前加#号 停用 之后source一下
题外话: 以上是在服务器上做的,楼主也用自己的笔记本编译matcaffe,
笔记本版本信息:ubuntu18.04 matlab2014a cuda9.0 gcc5.5 opencv3.2 protobuf2.6.1想用
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4:/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4:/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4:/usr/lib/x86_64-linux-gnu/libstdc++.so.6:/usr/lib/x86_64-linux-gnu/libfreetype.so.6:/usr/lib/x86_64-linux-gnu/libstdc++.so.6解决问题,奈何ubuntu18.04 没有这三个库
/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4:/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4:/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4之后放弃了,估计重装opencv3会解决问题,楼主没试过,放弃了,之后再服务器上搞,才艰辛的弄出来
最后楼主建议要编译matcaffe的童鞋,最好的版本是ubuntu16.04 + matlab2014/2015 +caffe-master
其他情况:matlab是2016或2017版本的用楼主链接的caffe安装包
https://github.com/gy1874/caffe-rpnbf-cudnn5