Cuda10.0 + Cudnn7.4.1 + tensorflow-gpu==1.14.0+py3.7环境参考

pip install -U tensorflow-gpu==1.14.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/

 安装参考网址:​​成功安装CUDA 10.0 和Cudnn 7.4.1_新奥尔良仙的博客​

文件是:​​Cuda10.0+Cudnn7.4.1+tensorflow-gpu==1.14.0-C#文档类资源​

里面包含了 Cuda10.0和 Cudnn7.4.1

# import tensorflow as tf
# hello = tf.constant('Hello, TensorFlow!')
# sess = tf.Session()
# print(sess.run(hello))
#Anaconda3 + Cuda10.0 + Cudnn7.4.1 + tensorflow-gpu==1.14.0(需要镜像网站pip下载或本地下载)
import torch
print(torch.__version__)

print(torch.version.cuda)
print(torch.backends.cudnn.version())