caffe install

https://zhuanlan.zhihu.com/p/25709284
安装
1.sudo apt-get install –no-install-recommends libboost-all-dev 有问题改用
解决:http://blog.csdn.net/donatellobzero/article/details/51304162 的 sudo apt-get install libboost1.55-all-dev

xianka
www.cnblogs.com/xinyf/p/5960480.html

2.sudo ldconfig
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 不是符号连接

/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 不是符号连接
解决:http://blog.csdn.net/u014696921/article/details/70101461

3.cd /home/gl/NVIDIA_CUDA-8.0_Samples找不到目录
解决: 安装CUDA自带的Samples
cd /usr/local/cuda/samples
sudo make all -j4
编译完之后
cd ./bin/x86_64/linux/release
运行例程
./deviceQuery

  1. 无法定位软件包 –assume-yes
    删除

5.CMakeFiles/Makefile2:9117: recipe for target ‘modules/cudalegacy/CMakeFiles/opencv_cudalegacy.dir/all’ failed
解决:http://blog.csdn.net/nicky_lyu/article/details/53236654

6./usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: 没有那个文件或目录
解决:http://www.linuxdiyf.com/linux/26522.html

7 解决:http://www.linuxidc.com/Linux/2015-04/116452.htm

8.“error while loading shared libraries: xxx.so.x” 错误的原因和解决办法
http://blog.csdn.net/sahusoft/article/details/7388617

9.recipe for target ‘.build_release/lib/libcaffe.so.1.0.0’ failed
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1
https://stackoverflow.com/questions/44067801/caffe-installation-linking-issue

10.Ubuntu ldconfig(解决*.so不是符号连接)
http://blog.csdn.net/hjxu2016/article/details/69389597
11.
Warning! HDF5 library version mismatched error
The HDF5 header files used to compile this application do not match
variable ‘HDF5_DISABLE_VERSION_CHECK’ to a value of ‘1’.
Setting it to 2 or higher will suppress the warning messages totally.
Headers are 1.10.1, library is 1.8.16

conda install https://repo.continuum.io/pkgs/free/linux-64/hdf5-1.8.16-0.tar.bz2

import caffe失败 No module named caffe
http://blog.csdn.net/u010417185/article/details/53559107

装了anaconda,和opencv,但import cv2报错:no module named cv2
opencv zhong cv2.so copy至anaconda2/lib/python2.7/site-packages内即可在python中使用

11.ssh
  sudo apt-get install openssh-server

12.tensorflow
pip install –ignore-installed –upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.0rc0-cp27-none-linux_x86_64.whl
pip install keras

13 install pycaffe interface
ImportError: No module named google.protobuf.internal

http://www.cnblogs.com/darkknightzh/p/5993405.html
在protobuf-2.6.1的文件夹内,有python文件夹的README.txt里面写了怎么安装python的支持。

14 编译caffe出现错误:make: *** [.build_release/src/caffe/common.o] Error 1
http://blog.csdn.net/u011070171/article/details/52292680

15 CXX/LD -o .build_release/examples/cpp_classification/classification.bin
/usr/bin/ld: .build_release/examples/cpp_classification/classification.o: undefined reference to symbol ‘_ZN2cv6imreadERKNS_6StringEi’
//usr/local/lib/libopencv_imgcodecs.so.3.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:565: recipe for target ‘.build_release/examples/cpp_classification/classification.bin’ failed
make: *** [.build_release/examples/cpp_classification/classification.bin] Error 1

add the opencv_imgcodecs to the MakeFile
LIBRARIES += opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值