1. 程式人生 > >caffe_ssd_踩坑

caffe_ssd_踩坑

caff onf ini x86_64 share mailto rect x86 datum

http://blog.csdn.net/sinat_31802439/article/details/52958791

python.config no such file

解決:

1 makeflie文件Python路徑正確

2 包含PYTHONPATH(bahsrc)

build_release/tools/caffe: error while loading shared libraries: libhdf5_hl.so.10: cannot open shared object file: No such file or directory

解決:

  • Go to the libraries directory:

    cd /usr/lib/x86_64-linux-gnu
    
  • Link the system version of HDF5 from 7 to 9:

    sudo ln -s  libhdf5_serial_hl.so.10.0.2 libhdf5_hl.so.10
    sudo ln -s  libhdf5_serial.so.10.1.0 libhdf5.so.10
    
  • Update the "Dynamic Linker":

    sudo ldconfig


/usr/lib/libopencv_highgui.so.2.4: undefined reference to [email protected]

_4.0‘ 1>
/usr/lib/libopencv_highgui.so.2.4: undefined reference [email protected]_4.0‘
解決方式前面說了,就是編譯opencv的時候要加上 -D BUILD_TIFF=ON

然後又出現了這個錯誤,這個錯誤曾讓我苦惱了兩天,還因此把系統搞崩潰一次....不得不重裝
最後還是多虧了最開頭提到的博客以及熱心網友 _無聲的雨 的幫助,非常感謝,當代活雷鋒啊!
//usr/lib/x86_64-linux-gnu/libx264.so.142:對‘__[email protected]_2.15’未定義的引用
//usr/lib/x86_64-linux-gnu/libx264.so.142:對‘[email protected]

_2.15’未定義的引用
//usr/lib/x86_64-linux-gnu/libxvidcore.so.4:對‘[email protected]_2.15’未定義的引用
//usr/lib/x86_64-linux-gnu/libvorbis.so.0:對‘[email protected]_2.15’未定義的引用

解決方法:如果你裝了anaconda包的話,刪除anaconda/lib/下面的 libm
sudo rm -rf libm*

In file included from src/caffe/solvers/sgd_solver.cpp:7:0:
./include/caffe/util/io.hpp:192:40: error: ‘AnnotatedDatum_AnnotationType’ does not name a type
const std::string& encoding, const AnnotatedDatum_AnnotationType type,

caffe_ssd_踩坑