anaconda虚拟环境中安装cuda9.0和tensorflow-gpu1.7.0
背景:Ubuntu18.04系统,已装Cuda10.0,GPU显卡Geforce RTX 2080ti,anaconda虚拟环境test命令:激活环境conda activate test安装python3.5conda install python=3.5安装cudatoolkit9.0conda install cudatoolkit=9.0安装cudnnconda install cudnn
·
背景:
Ubuntu18.04系统,已装Cuda10.0,GPU显卡Geforce RTX 2080ti,anaconda虚拟环境test
命令:
激活环境
conda activate test
安装python3.5
conda install python=3.5
安装cudatoolkit9.0
conda install cudatoolkit=9.0
安装cudnn
conda install cudnn
安装tensorflow-gpu1.7.0
pip install tensorflow-gpu==1.7.0
测试是否安装成功
直接在terminal虚拟环境下输入一下命令
python
import tensorflow as tf
tf.VERSION
tf.test.gpu_device_name()
from tensorflow.python.client import device_lib
device_lib.list_local_devices()
测试语句参考博文
ubuntu18.04 +Tensorflow1.12+cuda9.0+cudnn7.3+anaconda+GTX1660ti 深度学习环境配置
更多推荐


所有评论(0)