Ubuntu16安装CUDA、Cudnn和tensorflow等

Ubuntu16安装CUDA、Cudnn和tensorflow等

Ubuntu重新装下环境,使用cuda9.0,cudnn7.0,tensorflow1.6,keras2.2

驱动安装看前面得一篇文章
官网下载CUDA9.0

查看cuda安装完成

nvcc -V

在这里插入图片描述

不使用镜像,你永远不知道镜像有多快

tensorflow-gpu安装

 pip3 install tensorflow-gpu==1.6.0 -i https://pypi.douban.com/simple


keras 2.2.0

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple keras==2.2.0

在这里插入图片描述
matplotlib安装
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib==1.5

opencv-python

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python==3.4.1.15
发布了74 篇原创文章 · 获赞 59 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_44747240/article/details/104973961
今日推荐