Tensorflow on Windows 10 with GPU Support – Part 1

This is the first part of a three part series on installing and configuring Tensorflow with Keras on Windows 10. We will also enable GPU support.

First, we need to install the Microsoft Visual Studio Toolkit. Then, we install the NVIDIA CUDA Toolkit. Finally, we install the NVIDIA cuDNN. Also, we need python 3.x installed and your favorite python IDE (PyCharm). Let’s jump right in and get started.

Installing Microsoft Visual Studio CE

Click on the link below to download Visual studio. Then follow the instructions on installing the software.

Download Visual Studio 2019 for Windows & Mac (microsoft.com)

Navigate to the directory containing the .exe file and double click to get the installer window.

The initial installation window asks you to select which components to install.  Select the C++ option and any others that interests you.  I use Visual Studio Code for everything except Python, so my install was light weight.

The installer progress bar…

Once the installation is complete, you will get a window to login to Microsoft.

Sign in, select the theme that you like and click on the Start visual studio button.

Congratulations, you have completed the first of three posts.

Q&A

Why do I have install Visual Studio 2019? NVIDIA CUDA Toolkit requires Visual Studio. If you have another version of Visual Studio the CUDA installer should not throw an error.

One thought on “Tensorflow on Windows 10 with GPU Support – Part 1

Leave a comment