jinzishuai / learn2deeplearn

A repository of codes in learning deep learning
GNU General Public License v3.0
13 stars 1 forks source link

Install Tensorflow-1.4 on Windows with GPU #38

Closed jinzishuai closed 6 years ago

jinzishuai commented 6 years ago

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

jinzishuai commented 6 years ago

1. CUDA-8

http://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/

jinzishuai commented 6 years ago

Warning without Visual Studio

image

jinzishuai commented 6 years ago

2. cuDNN 6 for CUDA-8 and Windows 10

https://developer.nvidia.com/compute/machine-learning/cudnn/secure/v6/prod/8.0_20170307/cudnn-8.0-windows10-x64-v6.0-zip

Extracted as E:\cudnn-8.0-windows10-x64-v6.0\cuda

Add to System Path

E:\cudnn-8.0-windows10-x64-v6.0\cuda\bin

jinzishuai commented 6 years ago

3. Install Python 3.6

https://www.python.org/downloads/release/python-363/

image

Choose to disable the max length limit

jinzishuai commented 6 years ago

Review of Paths

image

jinzishuai commented 6 years ago

image

jinzishuai commented 6 years ago

Nvidia Diver Mode

On Windows 7 and later, the operating system provides two driver models under which the NVIDIA Driver may operate: ‣ The WDDM driver model is used for display devices. ‣ The Tesla Compute Cluster (TCC) mode of the NVIDIA Driver is available for nondisplay devices such as NVIDIA Tesla GPUs, and the GeForce GTX Titan GPUs; it uses the Windows WDM driver model.

image