Install Tensorflow/Keras in WSL2 for Applications of Deep Neural Networks

preview_player
Показать описание
Welcome to our video tutorial on how to install Python, Keras, and TensorFlow with WSL2 (Windows Subsystem for Linux) for our course "Applications of Deep Neural Networks" at Washington University.

If you are a student in our course and want to install these tools on your computer to work on your projects, this video will guide you through the process step-by-step. However, if you prefer not to install these tools on your computer, you can also use Google Colab, which is a cloud-based platform that allows you to run Python code on Google's servers.

In this tutorial, we will start by explaining what WSL2 is and how to set it up on your Windows machine. Then, we will walk you through the process of installing Python, Keras, and TensorFlow using the command line.

We will also cover some important aspects of these tools and how they relate to deep learning, as well as some common issues that you might encounter during the installation process and how to troubleshoot them.

By the end of this tutorial, you will have all the tools you need to get started with deep learning using Python, Keras, and TensorFlow. So, whether you prefer to install these tools on your own computer or use a cloud-based platform like Google Colab, we have you covered.

~~~~~~~~~~~~~~~ COURSE MATERIAL ~~~~~~~~~~~~~~~
📖 Textbook - coming soon

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME 🙏~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#Python #Tensorflow #Keras #gpu #wsl2
Рекомендации по теме
Комментарии
Автор

Thank you so much, Jeff!!! I'm glad that you hear your audience!!! 👏👏👏

JoseSilva-gtzj
Автор

thank you Jeff for the knowledge you share.

maximinmaster
Автор

Fantastic Tutorial. Thank you from Italy

pingo
Автор

Excellent explanation, Thank you for the effort taken to publish this information.

AmitSingh.
Автор

OMG After a whole night of struggling, I finally now can work with TensorFlow GPU! thank you so much

zihanzhao
Автор

Conda installed python 3.11 and I am getting the following error. Jeff, do you have any suggestion?
Pip subprocess error:
ERROR: Could not find a version that satisfies the requirement tensorflow==2.11.0 (from versions: 2.12.0rc0, 2.12.0rc1)
ERROR: No matching distribution found for tensorflow==2.11.0

brooktesfaye
Автор

Hi Jeff, on my side conda installed python 3.11 as latest by default. Maybe set also python=3.9 in the conda create to be sure its the right version

m_merlyn
Автор

Does anyone know if you can still use screen capture packages within WSL2?
Lets say a screen capture package requires DirectX-whatever: it would not work as python will think it's on a Linux host. Correct?

eMgotcha
Автор

is the a reason wyh you dont use the 'conda env update --file tools.yml --name base' to install it in the conda env instead of creating the tensorflow env?

Mrooooooo
Автор

Wow wsl2 has been such a pain to get setup! Had to use older 11.7.1 cuda drivers to get gpus to work when running docker containers

DannyCatacora
Автор

You can set the environment variable TF_CPP_MIN_LOG_LEVEL=2 to get those tensorflow warning to go away.

rickie_
Автор

Hello. I'm really noob and decided to start learning IT from your channel. For beginning I need Linux with all new tensorflow packages, besides I'm afraid that WSL would cause come performance issues in fact it runs Windows and Unix simultaneously. Or I can use win10 with wsl and it would not coast problems ? Thank you! And I'm using win 10 lts 21h22 so insider program not supported for me. Do I need to use win 10 pro classic version instead of lts that is more stable. I worked in Unreal engine 4/5 a lot and LTS performance better that's why. And it's already 2024 maybe win 11 could fit?

motionislive
Автор

i am getting error while installing opencv using this command in jupyter notebook : pip install opencv-python

ImportError: libGL.so.1: cannot open shared object file: No such file or director

Please help me to resolve. thanks.

varunkanthrajappan
Автор

how to import an auther packages with wls????

mvsghnj
Автор

Guess what

Wsl --install command is not recognized

ansar
Автор

can anyone tell me how to specify file path in wsl
I had originally written this
dataset =
"\\Image Data base",
seed=123,
shuffle=True,
image_size=(IMAGE_SIZE, IMAGE_SIZE),
batch_size=BATCH_SIZE
)
but I get directory not found everytime I try to run it
and my python kernel kind of keeps crashing every few minutes

harshadityasharma