【安装Caffe】

按照博客:
https://blog.csdn.net/yggaoeecs/article/details/79163789
 

1.安装caffe,在安装caffe的依赖项时:

会提示unable to locate package

这时候需要改成: sudo apt-get install libhdf5-serial-dev
来安装hdf5
https://askubuntu.com/questions/630716/cannot-install-libhdf5-dev

 

2. 出现了和下面博客类似的问题
https://blog.csdn.net/w5688414/article/details/79478695
protocolbuffer有问题
然后安装protobuf
shit!
安装完后并没有解决问题,继续找:
https://blog.csdn.net/Bone_ACE/article/details/80645522
按照这篇博客,补装了一些依赖项

然后,提示nvcc fatal : unkown optioon fPIC

竟然是因为参考的博客


https://blog.csdn.net/u013524303/article/details/81609643

 

3. 修改过后又出现了新的问题:nvcc fatal   : Unsupported gpu architecture 'compute_20'
参考网站:
https://github.com/kaldi-asr/kaldi/issues/1918

已经删掉了,确实解决了这个问题,但是,又出现了新的问题
https://www.cnblogs.com/zhming26/p/6164131.html

 

4. /usr/bin/ld: cannot find -lxxx 的解决办法
 

4. caffe fails with error undefined reference to `cv::imread(cv::String const&, int)' and undefined reference to `cv::imdecode(cv::_InputArray const&, int)
https://github.com/BVLC/caffe/issues/3700

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值