torch7+ubuntu16.04+cuda8.0+cudnn5+hdf5+matlab2016安装

折腾了好几天,踩了好多坑,终于装好,整理一下,以备后续再用。

参考网址

https://www.cnblogs.com/darkknightzh/p/5668471.html

https://jingyan.baidu.com/article/cbcede077e1ebe02f40b4d1e.html

Deep Learning Frameworks | NVIDIA Developer,Torch supports cuDNN v5 for GPU acceleration.


1、cuda官网下载cuda-repo-ubuntu1604_9.1.85-1_amd64.deb,用sudo apt list |grep cuda(版本);

2、cudnn下载,

cuDNN Archive | NVIDIA Developer,Download cuDNN v5 (May 27, 2016), for CUDA 8.0

LINUX

    cd <installpath>
    export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH

    Add <installpath> to your build and link process by adding -I<installpath> to your compile
    line and -L<installpath> -lcudnn to your link line.

安装过程参考博客https://www.cnblogs.com/darkknightzh/p/5668471.html,
3、hdf5 安装,要安装torch-hdf5,

https://jingyan.baidu.com/article/cbcede077e1ebe02f40b4d1e.html

4、matlab安装 ,
参考网址:http://blog.csdn.net/minione_2016/article/details/53313271,

6、torch7 安装官网


安装一个新软件包:

apt-get install packagename

卸载一个已安装的软件包(保留配置文件):

apt-get remove packagename


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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值