10 easy steps to install Tensorflow-GPU and Keras in Windows
Switch branches/tags
Nothing to show
Clone or download
Latest commit 3f8e220 Oct 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples 1st commit Apr 14, 2017
.gitignore Initial commit Apr 14, 2017
LICENSE Initial commit Apr 14, 2017
README.md Update README.md Oct 6, 2018
anaconda_windows_installation.png 1st commit Apr 14, 2017
anaconda_windows_installation_v2.png Add files via upload Oct 6, 2018
cuDNN_windows_download.png 2nd commit Apr 15, 2017
cuda8_windows7_local_installation.png 1st commit Apr 14, 2017
installation_success.png 3rd commit Apr 15, 2017

README.md

Keras-TensorFlow-GPU-Windows-Installation

10 easy steps on the installation of TensorFlow-GPU and Keras in Windows

Step 1: Install Anaconda (Python 3.7 version) Download

Step 2: Update Anaconda

Open Anaconda Prompt to type the following command(s)

conda update conda
conda update --all

Step 3: Install CUDA Tookit 8.0 Download

Choose your version depending on your Operating System

Step 4: Download cuDNN Download

Choose your version depending on your Operating System. Membership registration is required.

Put your unzipped folder in C drive as follows:

C:\cudnn-8.0-windows10-x64-v5.1

Step 5: Add cuDNN into Environment PATH Tutorial

Add the following path in your Environment. Subjected to changes in your installation path.

C:\cudnn-8.0-windows10-x64-v5.1\cuda\bin

Turn off all the prompts. Open a new Anaconda Prompt to type the following command(s)

echo %PATH%

You shall see that the new Environment PATH is there.

Step 6: Create an Anaconda environment with Python=3.5

Open Anaconda Prompt to type the following command(s)

conda create -n tensorflow python=3.5 numpy scipy matplotlib spyder

Step 7: Activate the environment

Open Anaconda Prompt to type the following command(s)

activate tensorflow

Step 8: Install TensorFlow-GPU-1.0.1

Open Anaconda Prompt to type the following command(s)

pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.0.1-cp35-cp35m-win_amd64.whl

Step 9: Install Keras

Open Anaconda Prompt to type the following command(s)

pip install keras

Step 10: Testing

Let's try running mnist_mlp.py in your prompt.

Open Anaconda Prompt to type the following command(s)

activate tensorflow
python mnist_mlp.py

Congratulations ! You have successfully run Keras (with Tensorflow backend) over GPU on Windows !