how to run keras and tensorflow on gpu on windows, step by step

  Рет қаралды 22,901

Johnny The Data Scientist

Johnny The Data Scientist

Жыл бұрын

In this video, I will explain, step by step, how to run your keras or tensorflow model on GPU on Windows.
Tensorflow Installation Page:
www.tensorflow.org/install/pi...
Supported NVIDIA GPUs:
developer.nvidia.com/cuda-gpus
Compatible Python and Package Versions:
www.tensorflow.org/install/so...
Working with Anaconda:
• python tutorials 1 - g...
One-Time Contribution Through PayPal:
www.paypal.com/donate/?hosted...
Country Cue 1 by Audionautix is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
Artist: audionautix.com/

Пікірлер: 87
@ancientgear7192
@ancientgear7192 Ай бұрын
I have been trying for days to find a way to use GPU for my neural networks project and your tutorial seems to be the only one that worked. Good job. I give a like
@RabiulIslam-tw6qc
@RabiulIslam-tw6qc 9 ай бұрын
Wonderful. Thanks a lot, brother. It works for me. Now a great relief. I search a lot on KZbin and probably your way of installing is the easiest and most effective. Thanks.
@johnnythedatascientist538
@johnnythedatascientist538 9 ай бұрын
Glad it helped
@joaopinho3737
@joaopinho3737 4 ай бұрын
I have been trying to use my gpu on tensorflow for over 2 years but every tutorial always presented some sort of unfixable error. I'm grateful that yours was not the case. Thank you so much Johnny, I really appreciate it. 🤝
@scottfernandes8058
@scottfernandes8058 6 ай бұрын
Thank you very much brother. This tutorial made me use my laptop gpu effectively for performing ML tasks. It works efficiently. Easy explanation throughout the video. Thanks once again!!
@ShivammWarambhey
@ShivammWarambhey Ай бұрын
The only video that worked, thanks a lot!!
@tseivan3624
@tseivan3624 9 ай бұрын
It works so well, thank you so much! After trying many solutions this is the one that finally works.
@johnnythedatascientist538
@johnnythedatascientist538 9 ай бұрын
You're welcome!
@harshsingh-gx4cz
@harshsingh-gx4cz Жыл бұрын
U r just God bro after 1 year finally can run on gpu
@KordHell-qv2sc
@KordHell-qv2sc 8 ай бұрын
Sameee
@Landry_Houston
@Landry_Houston 6 ай бұрын
wtf?
@lucasafcandido
@lucasafcandido 3 ай бұрын
That's an excelent tutorial, congrats!
@adamsjoberrg
@adamsjoberrg 2 ай бұрын
Thanks, this worked for me. Heads up though if anyone is following this; if you are using additional libraries like i did they also have to be installed into the new conda environment. I have some image processing etc in the same file so I had to go back and install it all into the new environment. Took me a while to realize how it all worked.
@davidpadillamunoz1140
@davidpadillamunoz1140 8 ай бұрын
You're magic! Thanks a lot bro, I have lost a lot of time trying to solve this.
@johnnythedatascientist538
@johnnythedatascientist538 8 ай бұрын
Happy to help
@KordHell-qv2sc
@KordHell-qv2sc 8 ай бұрын
Sir i have a gaming pc but in terms of ml its been useless till now. Tried many tutorials but any thing didnt work. You made it very simple and easy to understand. Thank you!!
@johnnythedatascientist538
@johnnythedatascientist538 8 ай бұрын
Glad I could help
@juanc3242
@juanc3242 Жыл бұрын
Great Job! Answered all the key questions!
@durvallins8599
@durvallins8599 4 ай бұрын
Thank you for sharing! It helped me a lot!
@aleksx05
@aleksx05 Жыл бұрын
Really great videos! Much more better than guys that have thousand of views ... i really hope you'll get much more views cause your videos are really excellent! (i mean it)
@johnnythedatascientist538
@johnnythedatascientist538 Жыл бұрын
Wow, thank you! I really appreciate it.
@trietao2764
@trietao2764 7 ай бұрын
Thank you very much for your tutorial !
@RamSharma-on8vk
@RamSharma-on8vk 6 ай бұрын
thanks so much after wasting more than a week i found you johnny LORD
@antukhan5592
@antukhan5592 3 ай бұрын
Thanks Johhny waited 8 month for gpu thanks
@ghibz3570
@ghibz3570 2 ай бұрын
You are an actual life saver
@T_SULTAN_
@T_SULTAN_ Жыл бұрын
Thank you very much for this tutorial!
@sanghyeongpark5859
@sanghyeongpark5859 9 ай бұрын
thank you so much. finally my gpu is working
@johnnythedatascientist538
@johnnythedatascientist538 9 ай бұрын
Glad it helped
@ajarivas72
@ajarivas72 6 ай бұрын
Are you using anaconda ?
@SandeepIITB
@SandeepIITB Ай бұрын
brdr I actually don't know how to thank you, it is finallly working
@harisr111
@harisr111 9 ай бұрын
Thank you sooo much mam it was very helpful and it worked for me
@johnnythedatascientist538
@johnnythedatascientist538 8 ай бұрын
Glad to hear that
@kylec.5476
@kylec.5476 3 ай бұрын
You're a hero!
@kazifahimlateef8699
@kazifahimlateef8699 7 ай бұрын
Very helpfull sir. Thank you so much.. Arigato..
@darkomiku8902
@darkomiku8902 9 ай бұрын
Thank you !!!
@dragster100
@dragster100 4 ай бұрын
Thanks a lot! This installation method seems to work fine in Jupyter Notebook, but when I work in my VS Code (Jupyter Notebook environment) it still doesn't detect detect my GPU. Any idea how to make GPU works in VS Code as well?
@sparrow243
@sparrow243 8 ай бұрын
Subscribed !!!
@johnnythedatascientist538
@johnnythedatascientist538 8 ай бұрын
Thanks!
@KyaPataKya
@KyaPataKya Жыл бұрын
thank u so much
@user-ld8lc4ex4m
@user-ld8lc4ex4m Жыл бұрын
Thank you so much.
@hexploit2736
@hexploit2736 10 ай бұрын
Like your videos my friend, just one compaint could you put links in description? Other than that great content
@johnnythedatascientist538
@johnnythedatascientist538 10 ай бұрын
Great feedback! I've added the links in the description. Thanks!
@PianoElipse
@PianoElipse 4 ай бұрын
how to do this without joppitter and gonda?
@HananAhmed0311
@HananAhmed0311 2 ай бұрын
i have 1660 super but it is not avalible?
@soothingszelam2607
@soothingszelam2607 Ай бұрын
how to connect this with pycharm
@breathingstill
@breathingstill 3 ай бұрын
Anaconda needs me to manually download python libraries and literally couldnt launch jupyter when i used this, so yeah was quite troublesome
@zahrahameed4098
@zahrahameed4098 2 ай бұрын
Mine is GeFORCE GTX 1660 Ti but it's not there to download. There is GeFORCE GTX 1650 Ti. What to do?
@aleksx05
@aleksx05 Жыл бұрын
Can you do videos on OOP? and more on machine learning (CNN, RNN, LSTM, reinforcement learning ...) , i'm asking a lot, i know, but your videos goes straight to the point no bla bla , keep up the great work!
@johnnythedatascientist538
@johnnythedatascientist538 Жыл бұрын
Hi, right now I am focusing on a series of video on natural language processing with Harry Potter, which eventually will cover RNN, LSTM, and even transformer. I am thinking about working on another video series on deep learning, which will start from the basics, such as logistic regression, gradient descent...etc. This series will eventually cover CNN and other topics, such as reinforcement learning, autoencoder...etc. About OOP, whenever I have time, I will continue on my series on python tutorial, which will eventually cover python classes.
@aleksx05
@aleksx05 Жыл бұрын
@@johnnythedatascientist538 Great, i'm waiting for it!!!(i have the basics, i've done all kind of simple models, random forest, knn, svm, also perceptron) i'm looking for CNN, autoencoder, LSTM, and especially reinforcement learning (i would like to mitigate reinforcement learning and random forest as they did for alphago) , i've heard about transformer too, seems great subject ... So much things to learn, 😊
@antukhan5592
@antukhan5592 3 ай бұрын
if I run Jupyter through Anaconda it works but if I install Tensor Flow and again run Jupyter Notebook through the specified environment it shows me an error.Please help
@antukhan5592
@antukhan5592 3 ай бұрын
I fixed this.Go to the anaconda prompt after giving pip install tensorflow=2.10 then in terminal give this line conda install -c conda-forge chardet all thing will run thanks
@wwthe247
@wwthe247 5 ай бұрын
oh i got a question, in the config.physical_devices it prints out gpu 0 is that mean i am using my gpu 0(the intel one) because my gpu 0 heat does not rise so much but my gpu (the nvidia one)rises as hell. Does this mean i am using the nvidia one??
@johnnythedatascientist538
@johnnythedatascientist538 5 ай бұрын
It must be the nvidia one. I don't think intel gpu is cuda supported.
@wwthe247
@wwthe247 4 ай бұрын
@@johnnythedatascientist538 thanks bro, i didn't get the announce of your replied. Your vid help me a lot
@wwthe247
@wwthe247 4 ай бұрын
@@johnnythedatascientist538 but i got a problem, i'm using spyder to train a model(deep learning with keras) but i got out of memory bug a lot, but my gpu only run 2.5/4.0 GB whats going on and how can i fix it??
@moutasemhamdi6571
@moutasemhamdi6571 10 ай бұрын
please it tells me that No matching distribution found for tensorflow==2.10 seems like pip can't install this version any more! what should i do????
@johnnythedatascientist538
@johnnythedatascientist538 10 ай бұрын
Hi, I've just installed tensorflow==2.10 on a brand new conda environment and had no issues. Not sure what's going on on your end. However, I found this stack overflow page that might be able to help you. stackoverflow.com/questions/48390095/no-matching-distribution-found-for-tensorflow
@zid7780
@zid7780 5 ай бұрын
@@johnnythedatascientist538 Hi, what is the python version that you are using to install tensorflow==2.10?
@dineshkumarm-rz5yd
@dineshkumarm-rz5yd 9 ай бұрын
After completing the process if i try to install tensorflowit pops module not found error what should i do
@johnnythedatascientist538
@johnnythedatascientist538 8 ай бұрын
I am not sure why it is happening to you. Make sure you are importing tensorflow under the same environment that you installed the tensorflow package.
@raghunandanjajra1667
@raghunandanjajra1667 10 ай бұрын
which version should be used for Geforce MX350
@johnnythedatascientist538
@johnnythedatascientist538 10 ай бұрын
Hi, I don't think GeForce MX350 is cuda-enabled. I don't see it in the Nvidia's cuda-gpus page.
@HeroHunter-nn8cb
@HeroHunter-nn8cb 6 ай бұрын
for me 3 rd command for cuda and cuddn is not working ,can u help me??i have a gpu rtx 3060
@johnnythedatascientist538
@johnnythedatascientist538 6 ай бұрын
Do you have any error messages? Also make sure there are no spaces before and after the equal signs.
@matman6251
@matman6251 10 ай бұрын
If I do this will it also affect tensor flow on vs code?
@johnnythedatascientist538
@johnnythedatascientist538 10 ай бұрын
Hi, after installing all the required packages with correct versions, you will just need to select the right kernel/environment in vs code. Of course, you will also need to verify that your GPU is cuda-enabled.
@A-pencilgon
@A-pencilgon 5 ай бұрын
can i use mx 450 training small models?
@johnnythedatascientist538
@johnnythedatascientist538 5 ай бұрын
unfortunately, mx450 is not cuda enabled.
@deepsuchak.09
@deepsuchak.09 8 ай бұрын
i followed all the steps but still was not able to see gpu in the list of devices can you please help
@johnnythedatascientist538
@johnnythedatascientist538 8 ай бұрын
what graphic card do you have?
@pondskoi2073
@pondskoi2073 9 ай бұрын
So no need of VISUAL STUDIO installations ??
@johnnythedatascientist538
@johnnythedatascientist538 8 ай бұрын
I don't think you need Visual Studio.
@wlwrpl
@wlwrpl 11 ай бұрын
One important point. WSL2 is limited to 64GB RAM. If you have more, you won't use it
@johnnythedatascientist538
@johnnythedatascientist538 11 ай бұрын
Thanks for sharing.
@antukhan5592
@antukhan5592 3 ай бұрын
11:35 launching jupyter notebook gives me error
@antukhan5592
@antukhan5592 3 ай бұрын
I fixed this.Go to the anaconda prompt after giving pip install tensorflow=2.10 then in terminal give this line conda install -c conda-forge chardet all thing will run thanks
@jain78343
@jain78343 11 ай бұрын
Saved me !
@Kap3ronis
@Kap3ronis Жыл бұрын
where do i donate, i literally jumped up and down like a child
@johnnythedatascientist538
@johnnythedatascientist538 11 ай бұрын
Hi, I am really glad that my video is helping you. I finally set up a PayPal account to receive donations, but please treat this video as complimentary. You can make donations when you find my future videos are helping you again next time.
@athuynh8599
@athuynh8599 3 ай бұрын
Aconda is so trash several packages not existing
@timstevens3361
@timstevens3361 Жыл бұрын
rtx 90080 ?
@johnnythedatascientist538
@johnnythedatascientist538 Жыл бұрын
sorry... that was a mistake. It should be GTX980. Good catch!
@abdulbasitahmedkhan7693
@abdulbasitahmedkhan7693 4 ай бұрын
Hey man, thanks for this amazing video. I have an error just after the step of installing tensorflow for that environment. The error is "Unable to create process using 'C:\Users\Abdul Basit\.conda\envs\tensorflowgpu\python.exe "C:\Users\Abdul Basit\.conda\envs\tensorflowgpu\Scripts\pip-script.py" install tensorflow==2.10'"
How NVIDIA just beat every other tech company
9:20
Mrwhosetheboss
Рет қаралды 1,1 МЛН
CUDA Simply Explained - GPU vs CPU Parallel Computing for Beginners
19:11
Python Simplified
Рет қаралды 244 М.
Каха и суп
00:39
К-Media
Рет қаралды 6 МЛН
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 15 МЛН
RTX 5090 Does The IMPOSSIBLE
6:10
Gamer Meld
Рет қаралды 284 М.
Nvidia CUDA in 100 Seconds
3:13
Fireship
Рет қаралды 1,1 МЛН
Tensorflow with GPU on Windows WSL using Docker
17:00
KNuggies
Рет қаралды 36 М.
Python on NVDIA CUDA | GPU Acceleration Basics
1:01:28
Rounak Paul
Рет қаралды 3,1 М.
I Melted Wood With Friction
8:44
The Action Lab
Рет қаралды 729 М.
Tenserflow GPU (Latest 2.14) installation on Windows 11 through WSL2
20:04
Каха и суп
00:39
К-Media
Рет қаралды 6 МЛН