I used python version 3.5.3.
C:\Python35>cd Scripts
C:\Python35\Scripts>pip3 install --upgrade tensorflow
Collecting tensorflow
Downloading tensorflow-1.0.1-cp35-cp35m-win_amd64.whl (14.7MB)
100% |################################| 14.7MB 43kB/s
...
Successfully installed appdirs-1.4.3 numpy-1.12.0 packaging-16.8
protobuf-3.2.0 pyparsing-2.2.0 setuptools-34.3.2 six-1.10.0
tensorflow-1.0.1 wheel-0.29.0
Next step is to install the GPU version of TensorFlow:C:\Python35\Scripts>pip3 install --upgrade tensorflow-gpu
Collecting tensorflow-gpu
Downloading tensorflow_gpu-1.0.1-cp35-cp35m-win_amd64.whl (43.1MB)
100% |################################| 43.1MB 11kB/
...
Installing collected packages: tensorflow-gpu
Successfully installed tensorflow-gpu-1.0.1
If you are installing TensorFlow with GPU support then the following NVIDIA software must be installed on your system:CUDA Toolkit 8.0. , the NVIDIA drivers associated with CUDA Toolkit 8.0 and cuDNN v5.1.
The cuDNN is typically installed in a different location from the other CUDA DLLs.
Now you need to add the directory where you installed the cuDNN DLL to your %PATH% environment variable.
The result will be output under python result when you import this python module, see my output:
Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GT 740M, pci bus id: 0000:01:00.0)