How to Install TensorFlow GPU on Windows - FULL TUTORIAL

preview_player
Показать описание
How to Install TensorFlow GPU version on Windows. I walk through the steps to install the gpu version of TensorFlow for python on a windows 8 or 10 machine.

This is quite the process and can take a few minutes. Make sure to watch through the entire tutorial and DO NOT SKIP STEPS.

Download Links:

Steps:

1. Uninstall all NVIDIA Drivers/Software and delete all NVIDIA files from program files (x86 aswell)

2. Install Visual Studio 2017 (from link above)

3. Install CUDA (first check compatible versions using link above)

4. Download cuDNN (again check version is same as CUDA version)

5. Extract the cuDNN zip folder to your desktop. Open a new windows explorer and navigate to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\Vx.x\ . Now copy the contents of the downloaded and extracted cuDNN folder into the appropriate folders (files from cuDNN bin go into the new windows explorer bin folder etc.).

6. Navigate to your system enviorment variables and edit the path. Add the following two directories into your path:
- C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin
- C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\libnvvp

7. Download and Install Anaconda (from link above)

8. Set up a virtual enviorment using python 3.5
- conda create -n [name] python=3.5

9. Activate the virtual enviorment
- activate [name]

10. Install packages
- pip install --ignore-installed --upgrade tensorflow-gpu
- pip install keras
- pip install pandas (optional)
- pip install numpy (optional)

**************************************************************

**************************************************************

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
- Tech With Tim
- Python Tutorials
- How to install tensorflow on windows
- Tensorflow installation windows 10
- Tensorflow gpu installation
- How to install tensorflow gpu version
Рекомендации по теме
Комментарии
Автор

Thank you for bringing an updated version out on how to do this. For the last week I’ve been doing about 80% of the 6 different ways to install tensorflow. Thank you much appreciation

dopafiend
Автор

Man you are amazing, thank you so much for doing the latest versions of tensorflow and cuda and cudnn. I’ve been searching for error messages for weeks now and my project is due in 4 weeks time which involves deep learning with image processing and I need to train thousands of images in order for this to work. You are amazing great tutorial, thanks a lot man!

TimeForRevenge
Автор

Hey Tim, thank you so much for posting this. I got my 1050 TI GPU to work by using CUDA 10 and python 3.7 along with your instructions. You saved me tons of time and just enabled me to slide into the deep learning realm. Much appreciated.

mamotivated
Автор

Dude, thanks so much. I've been trying to do this for weeks now and after following about 30 different tutorials and it never working yours finally worked. Nice video man keep it up.

didlid
Автор

I love you. Took me 3 days to install tensorflow and I've finally done it. Now its time to learn how to use it!

xavimedina
Автор

Hallelujah!! Thanks a lot Tim, glad i found this video after 3 days of exhausting setup process. As someone mentioned in the comment i installed 3.7 python version on cuda 10.0 with cudnn 7.5. Thanks a ton Tim boss. i had almost given up. you saved me

merrilalmeida
Автор

OMG OMG OMG MAAAAN... I started at 10 in the morning trying to figure this out without any luck and at 3 in the morning i come across your video and at 3:40 AM its working. Thank you... you did what 1000 github posts couldnt.

jyashi
Автор

Bro you're amazing, I installed it in less than 20min with this video!

caprilancexu
Автор

This is one of the best tutorials and instructions I have seen! Clear and precise. I just installd on my DELL (Alienware) M17 R4 with nvidia3080 card to run training models for forex and stock predictions. Used cuda 11.0 with python 3.7. Thank you!

PantelisKokkalis
Автор

I think this is the hardest installation i have encountered...I can't imagine if I could do it without your help. Thank you.

yuan
Автор

Thank you so much!
Really helped a lot.
I needed a few times until it worked for me, though.
On the third try I figured out which versions went with which.
First I installed python 3.6.
VS
CUDA 10.0
cuDNN 7.4 for CUDA v10.0
Anaconda
and after hours and hours of reinstalling it finally worked.

amiananas
Автор

Great explanation. Very thorough and well explained. Thanks for this.

aaronmaxwell
Автор

Hey Tim, thanks a lot for this video! I tried installing tensorflow-gpu around 7-8 time before this without luck but this tutorial worked for me.

ANKUSHSURVE
Автор

Thank you very much!
very helpful and easy tutorial!
I tried lots of tutorials before, made it the first time with this one :)

adishumely
Автор

I have been searching for a solution for days and thanks to you i finally made it. Thank you soo much man. Great video !

mehmetcanmitil
Автор

Thank you so much. Clearest tutorial I have found on the youtube

derciliolopes
Автор

Thank you so much. I was trying for hours to fix this thing

rrezonpllana
Автор

Thanks so much, really easy tutorial to follow! You rock!

Автор

Thank you for the updated installation. From last two days i am struggling install perfectly.
I have a question, should I install Cuda "patch release (1) (2) (3) (4)" also.

shashidharreddy
Автор

This is really amazing video, I could not able to install tensorflow gpu since last 2 months of effort. Your guidance helped me a lot to install it successfuly. U R AWSOME!!!

indranildatta