Installing CPU and GPU TensorFlow on Windows

preview_player
Показать описание
In this tutorial, we cover how to install both the CPU and GPU version of TensorFlow onto 64bit Windows 10 (also works on Windows 7 and 8). TensorFlow is a Python library for doing operations on tensors, which is used for machine learning in general, but mostly deep learning.
Рекомендации по теме
Комментарии
Автор

Great works sir. The procedure is still working after 4 years.

ankitganeshpurkar
Автор

If you're looking to use Tensorflow-GPU, go watch my updated video on how to install it. It's all done through Anaconda with a few simple commands, takes less tan 5 mins.

thehardwareguy
Автор

Guys.... Even though I appreciate Sentdex for making the video, this tutorial wouldn't work for most people since it is a bit out-dated

This is how I installed for 64-bit Windows 10:


2. Then, once it finishes installing on to your computer, now you have to make three Paths on the Environmental variables:
For me, they were:
#1. C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin
#2. C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp
#3. C:\Program Files\NVIDIA GPU Computing

3. Next, you need to download the NVIDIA Drivers required for CUDA 8.0. You can download the drivers for your GPU

4. The next step is to download CUDA6.0. Even though, it says you need to install CUDA 6.1, I read on one of the NVDIA forums that it is a typo. Follow Sentdex's link and log in and install the CUDA6.0. You won't be able to find the 6.1 version anyway.

5. You should have downloaded a zip folder with a folder called "cuda". Extract it to C:\ drive. Not replace the files in it like what Sentdex did.

6. Create a path on the environmental variables : C:\cuda\bin

7. It's done! Now, open up your python terminal on Command Prompt. Type import tensorflow as tf. It will take a while! But, it should eventually come up.

TheDonMan
Автор

I tested the CPU version today and it runs flawlessly. Thank you!

Neuranet
Автор

Amazing boss - I am not able to move any other portal since your postings keep me for whole day . Fantastic work

samyukthareddy
Автор

I rarely login in my Google account, but now that i found your channel, i have been learning so... SO MUCH that i would be ungrateful if i didn't give you some sort of feedback! After all you're just awesome! I feel like i won't be satisfied until i see all of your videos ;)!! Keep doing it, i will be silently watching all from this side xD

cerquido
Автор

I am here to watch your deep learning videos, I am so curious and i am waiting, please be quickly :D thanks for videos

emreozkose
Автор

Wow, windows support came out much sooner than I anticipated. Now I must save up for an NVidia GPU.

Thanks for the vid as always.

beckettman
Автор

God hell finaly i got Tensorflow gpu running the key for me was to merge my cudnn files with the CUDA files!! Before that i just added environment variable directly to cudnn which was not working as expected. Thank you very much

einruberhardt
Автор

that's cool

I had just ran the file.

using NVIDIA GTX 960M GPU

even my GPU was 48 - 50% utilized.

thanks for the upload. looking forward for some more.

Liteship
Автор

For those of you getting the error "ImportError: No module named
Noticed that tenorflow was looking for "cudnn64_5.dll", while the latest file in cudnn was named "cudnn64_6.dll".
Changing the 6 to a 5 solved import issue, but there might be other issues further down the line though, haven't tested it out fully yet.

robinhellsten
Автор

Thanks for the uploads. Very useful for mean as I am currently doing PhD research into deep learning

TheStevieb
Автор

Literally just started looking into this yesterday. Thanks.

seth
Автор

File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'tensorflow'

it says this error when im typring import statement?can anyonre help me please

krishnat
Автор

17:06 gpuz says you were using about 11GB of memory. What's up with that? Do you have like 2 6GB cards in SLI?
edit: Oh shit. Nevermind. Just watched your gear video. Titan X 12GB

HimothyOHooligan
Автор

Been following you looking at your cool python things
But i never ever got to use tensorflow.. now i got hired at an ML developing company.
My graphics processor is unworthy, it seems.

:(

raseruuu
Автор

I've tried cuDNN 5.1 and it's working perfectly

mustafaihssan
Автор

@sentdex - thank! It worked! Sadly could not get it working on OSX. But works well on Windows!

ryanshrott
Автор

help pleaase i can't install tensorflow

manelbentouati
Автор

I can't install the tensorflow The terminal says:
is not a supported wheel on this platform.

mansioncapital