Step 1: Install NVIDIA Driver Download
Select the appropriate version and click search
Step 2: Install Anaconda (Python 3.7 version) Download
Open Anaconda Prompt to type the following command(s)
conda update conda
conda update --all
Step 4: Install CUDA Tookit 10.0 Download
Choose your version depending on your Operating System
Step 5: Download cuDNN Download
Choose your version depending on your Operating System. Membership registration is required.
Put your unzipped folder in C drive as follows:
D:\cudnn-10.1-windows10-x64-v7.5.0.56
Add the following path in your Environment. Subjected to changes in your installation path.
D:\cudnn-8.0-windows10-x64-v5.1\cuda\bin
You can either follow this Tutorial here or the following steps (for Windows 10).
Step 6.3: under the “Users' Variables” section (the upper half), find the row with “Path” in the first column, and click edit.
Now you can add a new path to the environment varible
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.
Open Anaconda Prompt to type the following command(s)
conda create -n keras-gpu python=3.6 numpy scipy keras-gpu
Open Anaconda Prompt to type the following command(s)
activate keras-gpu
Let's try running mnist_mlp.py in your prompt.
Open Anaconda Prompt to type the following command(s)
activate keras-gpu
python mnist_mlp.py
Congratulations ! You have successfully run Keras (with Tensorflow backend) over GPU on Windows !