码迷,mamicode.com
首页 > 其他好文 > 详细

caffe_ssd_踩坑

时间:2017-06-05 17:22:04      阅读:1299      评论:0      收藏:0      [点我收藏+]

标签:geo   font   reference   sdn   cto   dir   cond   ons   share   

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 TIFFRGBAImageOK@LIBTIFF_4.0‘ 1>
/usr/lib/libopencv_highgui.so.2.4: undefined reference toTIFFReadRGBAStrip@LIBTIFF_4.0
解决方式前面说了,就是编译opencv的时候要加上 -D BUILD_TIFF=ON

然后又出现了这个错误,这个错误曾让我苦恼了两天,还因此把系统搞崩溃一次....不得不重装
最后还是多亏了最开头提到的博客以及热心网友 _无声的雨 的帮助,非常感谢,当代活雷锋啊!
//usr/lib/x86_64-linux-gnu/libx264.so.142:对‘__exp_finite@GLIBC_2.15’未定义的引用
//usr/lib/x86_64-linux-gnu/libx264.so.142:对‘__log10_finite@GLIBC_2.15’未定义的引用
//usr/lib/x86_64-linux-gnu/libxvidcore.so.4:对‘__logf_finite@GLIBC_2.15’未定义的引用
//usr/lib/x86_64-linux-gnu/libvorbis.so.0:对‘__acosf_finite@GLIBC_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_踩坑

标签:geo   font   reference   sdn   cto   dir   cond   ons   share   

原文地址:http://www.cnblogs.com/chinesezyc/p/6945966.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!