我是靠谱客的博主 干净铅笔,最近开发中收集的这篇文章主要介绍ubuntu18.04 + torch7 + cuda 8.0 + cudnn7torch7,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

参考:https://www.jianshu.com/p/9e706ca6f5e3

https://blog.csdn.net/zouyu1746430162/article/details/79510773

 

torch7

http://torch.ch/docs/getting-started.html#_

官方自带脚本:

git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install

bash install-deps:报错 将install-deps文件中的  将那个python-*-*的替换为     software-properties-common

success.

下面安装cuda8.0。使用的是deb包安装。

 

cudnn7对应于cuda8.0版本

###按照教程

luarocks install cutorch
luarocks install cunn

安装cutorch    gcc版本不能大于5.0  要降级    https://blog.csdn.net/qq_33160790/article/details/80464473

 

git clone https://github.com/soumith/cudnn.torch -b R7
cd cudnn.torch
luarocks make

R7代表 cudnn7版本 要对。

最后

以上就是干净铅笔为你收集整理的ubuntu18.04 + torch7 + cuda 8.0 + cudnn7torch7的全部内容,希望文章能够帮你解决ubuntu18.04 + torch7 + cuda 8.0 + cudnn7torch7所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(69)

评论列表共有 0 条评论

立即
投稿
返回
顶部