step 1:
安装 Anaconda3-4.2.0(Python3.5):
链接:https://pan.baidu.com/s/1g8NzXVfbVBx_KQFo6frmoQ
提取码:lx19
step 2:
安装cuda 8.0.44
链接:https://pan.baidu.com/s/1_z6LcillumlpQO4MlTV15g
提取码:2gyu
step 3:
用cudnn中解压的文件覆盖cuda中相应的文件
链接:https://pan.baidu.com/s/1q_h02FUwRposheW0qj7NSg
提取码:0fhi
cuda默认安装路径: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
step 4:
在Anaconda中安装:
pip install tensorflow-gpu==1.4.0
完成!!!!
测试一下
import tensorflow as tf
hello = tf.constant("hello world")
with tf.Session() as sess:
print(sess.run(hello))