DeepLab V2 配置bug

DeepLab V2下载website:

https://bitbucket.org/aquariusjay/deeplab-public-ver2

在页面左上角clone即可

然后再依次执行下列命令:

cp Makefile.config.example Makefile.config
# Adjust Makefile.config (for example, if using Anaconda Python, or if cuDNN is desired)
make all
make pycaffe
make test # NOT mandatory
make runtest # NOT mandatory

注:在make all的时候,会报错:

bug1:matio.h no such file or directory

解决方法:执行下列命令即可:

sudo apt-get install libmatio-dev

参考网址:https://bugs.launchpad.net/ubuntu/+source/dynare/+bug/1537380

bug2:caffe/common.cu error: function atomicadd has already been defined

解决方法:https://github.com/vlfeat/matconvnet/issues/575

即找到/include/caffe目录下的common.cuh文件,在atomicAdd 函数的上下方添加以下code:

#if !defined(__CUDA_ARCH__) || __CUDA_ARCH__ >= 600
#else
<... place here your own pre-pascal atomicAdd definition ...>注:这里即common.cuh中atomicAdd函数的定义
#endif


For this error
ImportError: libcudart.so.7.0: cannot open shared object file: No such file or directory

I have executed this command to solve it
sudo ldconfig /usr/local/cuda/lib64



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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值