How to install TensorFlow in Windows - 2024 Guide

preview_player
Показать описание
In this tutorial, we'll navigate through three different methods of setting up your TensorFlow development environment for machine learning, ranging from simple setups to more advanced configurations. TensorFlow can be extremely finicky to install without errors, so I walk through each method step by step and the hope is that at least one of these will work for you. Each approach offers varying degrees of user control but varies in complexity to install.

MY OTHER SOCIALS:

WHO AM I?
If we haven’t yet before - Hey 👋 I’m Dustin, a mechanical engineer by education, but through my videos and blog I'm taking a deep dive into all things related to AI and machine learning. My focus is on exploring the technical aspects of new advances in the field, and I'd love for you to join me!

PS: Some of the links in this description are affiliate links that I get a kickback from 😜

⌚️Timestamps:
0:00 - Introduction
0:17 - Method 1: Google Colab
1:11 - TensorFlow Notebook in Google Colab
4:33 - Method 2: Windows Native TensorFlow Installation
4:55 - MS VC++ Redistributable Installation
5:21 - Miniconda Installation
5:47 - Native Windows CPU-only TensorFlow Installation
9:07 - Native Windows GPU-enabled TensorFlow Installation
12:25 - Method 3: WSL2 / Docker TensorFlow Installation
13:11 - WSL / Ubuntu Installation
14:27 - Docker Installation
15:51 - GPU TensorFlow Installation in Docker
18:11 - CPU TensorFlow Installation in Docker
18:39 - Mapping local filesystem to a Docker container
19:57 - Outro

LINKS & REFERENCE MATERIALS MENTIONED IN THE VIDEO:
Method 1: Google Colab

Method 2: Native Windows TensorFlow Installation

Method 3: WSL2 / Docker TensorFlow Installation

DOWNLOAD LINKS:

#tensorflow #machinelearning #ai
Рекомендации по теме
Комментарии
Автор

I hope this video helped you with your TensorFlow installation - it still surprises me how [unnecessarily] difficult it can be to get installed properly, especially with the GPU. Please reply and let me know which method worked for you!

RELUvance
Автор

You are a wizard, Man! That's the simple and full installation guides, that are so necessary for beginners, like me!👍👍👍

mihaillomatsky
Автор

Thank you so much, I was struggling for 2 days before I found your tutorial.

akashgarg
Автор

Explained using Multiple methods, Is the best part for me.

shashankbhutiya
Автор

You just helped me overcome the current, biggest roadblock I had to starting my ML/AI journey. I and my daughters thank you, endlessly.

FtheIneffable
Автор

You are golden! Thank you verry much for all the teachings it was a great help in my academic works. May you have many nice days - as many as you saved my days from tears and sorrows with this tutorial! Cheers!

jn
Автор

Thank you very much for your guide! It helped me a lot to set up the latest tensorflow gpu version in windows. Finally my GPU is showing up when importing tensorflow.👍
However, I'm getting 3 warnings, saying "Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered" and 2 mores similar messages with cuDNN and cuBLAS. Have you ever encountered such messages?

NowshinAlam
Автор

thats sad caz many new lib req new version of tensorflow or keras, btw it worked . tq sir!

Luminate-mncf
Автор

Thank you so much, you saved me HAHAHAH

adrianarcega
Автор

Thanks alot.. would have preferred if the video was a little bit clearer.. although it was very helpful and precise..

martinamilo
Автор

I have got all the installation done. how can i use it from jupyter notebook?

nyanhtetaung
Автор

Great video! Can I install TF in a venv on cmd prompt instead of conda?

Cavz
Автор

excellent...this video helped me a lot

sowjanyay
Автор

Thank you! That's the only tutorial that worked for me. However, I just wanna know if it is possible to run VScode in the method3/docker.

rn
Автор

I am extremely new to this space. I just started neural networks and my processing times in google colab has been humungous. I figured its because its not using my gpu eventhough i use the t4gpu runtime. So i went with this tutorial and downloaded the docker and completed every step and it works. But how can I now use my jupyter notebook file?

keshavranjith
Автор

i have a laptop with intel iris xe graphics, integrated gpu can i run tensorflow?

aratakiitto
Автор

I followed all these steps for CPU and GPU and I am still getting errors when I try to import tensorflow :(

Yo_Lilith
Автор

after installing tensorflow gpu how to access it from the jupyter notebook as there is jupyter pre install in my pc through ananconda and in same command line i installed tensorflow but i was anable to get it on my jupyter notebook how to do it please help me out

kaustubhkubitkar
Автор

Wow, this is great, I have a question though, what about working with notebooks? Is there a way to be able to run it from vscode? The kernel isn't explicitly shown prolly 'cuz it's in a container. I've seen some tutorials about using the "WSL" and "Dev Containers" extensions but am still experimenting as to how to make them all work together. Still, I'm thankful that I found a tutorial that could utilize newer versions of TF. Edit: This is with regards to the Docker TF Installation

daedalusrasmus
Автор

As I understand there is no more version 2.10 available, as I get this (tf-gpu) PS C:\Users\edgar> pip install tensorflow==2.10
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement tensorflow==2.10 (from versions: 2.16.0rc0, 2.16.1)
ERROR: No matching distribution found for tensorflow==2.10

edgareglis