您的位置:首页 > 其它

(并不详细)Ubuntu16.04+anaconda4.4+cuda8.0+cudnn5.1+tensorflow_gpu说明+资料汇总

2018-03-25 23:54 363 查看

这是我第一次编辑,会更新的,请各位见谅--等我有空改下格式亲~~

我会说安装过程和我使用的一些常用操作

先贴参考链接,再说我的安装

tf安装

 

https://www.cnblogs.com/kevinzhk/p/8451233.html

 

https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&ch=11&tn=98012088_5_dg&wd=ubuntu%20python3.6%20cudnn&oq=ubuntu%2520python%2526lt%253B.6%2520tensorflow&rsv_pq=90f9860e000054c2&rsv_t=2fd2bAjrUjmsDmjUJFeMUJIIY%2B%2BLXoowb4OtmgG%2B6ng5e48dC9DOLtBa9camKPLoNgPxxA&rqlang=cn&rsv_enter=1&inputT=1419&rsv_sug3=38&rsv_sug1=19&rsv_sug7=000&rsv_sug2=0&rsv_sug4=2390&rsv_sug=1

 

 

ubuntu16.04 +tensorflow1.4安装 + 运行问题解决

http://blog.csdn.net/my88site/article/details/78559582

Ubuntu16.04+Anaconda 安装GPU版本tensorflow

https://www.geek-share.com/detail/2701537198.html

 

tty 

https://jingyan.baidu.com/article/5225f26b0ac250e6fb09084e.html

 

 

0 驱动在软件和更新里面安装

测试代码

 

安装anaconda

1清华镜像源

https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 

选版本

bash ./Anaconda3-5.0.0-Linux-x86_64.sh

anaconda 4.4.0 de gcc 4.47

 

anaconda 5.1.0 gcc 7.2

5.01也是gcc 7.2

sudo gedit ~/.bashrc

末尾添加

export PATH="/home/lixiang/anaconda3/bin:$PATH"

注意看你的用户名和anaconda名称

source ~/.bashrc

####budong

 

成功

anaconda 下载了低版本的gcc

也会conda install 安装,但怕不好,就想安装个低版本的anaconda就行了

anaconda卸载

https://www.geek-share.com/detail/2708588950.html

 

 

后续会看的

https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html

https://docs.nvidia.com/cuda/

https://www.tensorflow.org/install/install_linux

打算cuda9

https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#runfile-overview

 

其他

http://www.52nlp.cn/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE-ubuntu17-04-nvidia-gtx-1080-cuda-9-0-cudnn-7-0-tensorflow-1-3#comments

lan

https://www.geek-share.com/detail/2723201319.html

好的

https://www.cnblogs.com/kevinzhk/p/8451233.html

lan

https://www.geek-share.com/detail/2715664089.html

Ubuntu16.04LTS+CUDA8.0+cuDNN5.1+Anaconda3(python3.6)+tensorflow_gpu-1.2.1安装过程全记录  gcc出处

https://www.geek-share.com/detail/2723919873.html

好的

https://www.geek-share.com/detail/2717400262.html

 

两个deb安装的

https://www.geek-share.com/detail/2701537198.html

https://www.geek-share.com/detail/2726330754.html

 

因为新版本的cuda在维护,可能有问题,下不了,所以就下载cuda 8.0 gp2

https://developer.nvidia.com/cuda-80-download-archive

这个里面有document

https://developer.nvidia.com/cuda-90-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=runfilelocal

 

huan kernel----只用更新就行

https://www.geek-share.com/detail/2704370655.html

 

cuda+

https://www.geek-share.com/detail/2700551114.html

 

 

 

gcc降级

https://www.geek-share.com/detail/2716373739.html

 

 

亲自测试Ubuntu17.04(16.04)+Nvidia GT 640LE+CUDA9.0+cu

https://www.geek-share.com/detail/2726733382.html

主要是看这篇文章,但其他文章也参考了,说说心路历程吧

pip没换源很烦--tf下安装慢死了

git也很慢

 

我把gcc降到5.3,但文档中说最好4.多,哎

kernel版本高没问题

最后 ls /tmp/tensorflow_pkg/  你就能发现,这个奇葩的tmp文件找不到,但你在命令行能搜到 这样知道名字可以pip了

之前做whl和用whl出现warning不要动,尤其是想ctrl+c复制,结果interupt了

最后,安装完了的最后,还要 点进python里面!!

tensorflow就相当于conda工作包了

 

pip,anaconda修改原

https://www.geek-share.com/detail/2709666441.html

 

source ~/anaconda3/bin/activate tensorflow

更新

 

 

 

 

 

 

 

 

 

阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐