Ubuntu14.04 + cuda8.0 + cudnn7安装torch7

Ubuntu14.04 + cuda8.0 + cudnn7
1.参考 https://blog.csdn.net/Hungryof/article/details/51557666?locationNum=13&fps=1 (安装torch7以及其支持的cudnn和cuda)
2.安装cudnn时
git clone https://github.com/soumith/cudnn.torch -b R7 (7代表cudnn版本为7,cudnn版本为6时同理,而cudnn版本为5时,直接luarocks install cudnn即可)
cd cudnn.torch
luarocks make
3.安装matio,参考 https://blog.csdn.net/u014525760/article/details/79640260(网盘:https://pan.baidu.com/s/1sCfVmiz_v3YrFqkxP7XgpA)
我在"src", "tools" , "test" 和“getopt”文件夹里的Mkefile中将SHELL变量定义处的/bin/sh,改为/bin/bash

另外,参考https://github.com/1adrianb/face-alignment-training 来安装训练必要的包:
cutorch
nn
nngraph
cudnn
xlua
image
paths
matio

       
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值