2020, TensorFlow 2.0 GPU (CUDA), Keras, & Python 3.7 in Windows 10




[ad_1]

Here is an update, as of July 2020. https://www.youtube.com/watch?v=PnK1jO2kXOQ

** Follow Me on Social Media!
GitHub: https://github.com/jeffheaton
Twitter: https://twitter.com/jeffheaton
Instagram: https://www.instagram.com/jeffheatondotcom/
Discord: https://discord.gg/3bjthYv
Patreon: https://www.patreon.com/jeffheaton

This video walks you through a complete Python 3.7 and TensorFlow install. You will be shown the difference between Anaconda and MiniConda, and how to create an environment inside of Anaconda for TensorFlow.

Step 1: Identify GPU Card [5:31]
Step 2: Download Setup Script [6:22]
About Environment Setup Script [6:56]
Step 3: Install GPU Driver [8:01]
Step 4: Install CUDA Driver [13:55]
Step 5: Install cuDNN  [16:01]
Step 6: Install TensorRT (optional)  [21:15]
Step 7: Install MiniConda  [23:10]
Step 8: Install Jupyter  [25:10]
Step 9: Run Setup Script [25:48]

conda env create -v -f tensorflow.yml

Step 10: Install Jupyter Kernel [27:53]

python -m ipykernel install –user –name tensorflow –display-name “Python 3.7 (tensorflow)”

Step 11: Test Everything   

You can find the instructions here (from the video):
https://github.com/jeffheaton/t81_558_deep_learning/blob/master/install/tensorflow-install-jan-2020.ipynb

Other Platforms

Windows 10 CPU: https://www.youtube.com/watch?v=RgO8BBNGB8w&list=PLjy4p-07OYzulelvJ5KVaT2pDlxivl_BN
Mac OSX CPU: https://www.youtube.com/watch?v=MpUvdLD932c&list=PLjy4p-07OYzulelvJ5KVaT2pDlxivl_BN
Windows 10 GPU: https://www.youtube.com/watch?v=qrkEYf-YDyI&list=PLjy4p-07OYzulelvJ5KVaT2pDlxivl_BN

Please subscribe and comment!

Follow me:

YouTube: https://www.youtube.com/user/HeatonRe
Twitter: https://twitter.com/jeffheaton
GitHub: https://github.com/jeffheaton

Source


[ad_2]

Comment List

  • Jeff Heaton
    December 14, 2020

    Here is an update, as of July 2020. https://www.youtube.com/watch?v=PnK1jO2kXOQ

  • Jeff Heaton
    December 14, 2020

    Can anyone suggest My machine has ##Device – GeForce GTX 1660 SUPER

    ##Tensorflow – 2.3.1 , ##Python 3.8.3 , O.S – Windows 10 which cuDNN and CUDA i have to install, i tried Cuda Version – 10.1.105, ##cuDNN Version – 7.6 already

  • Jeff Heaton
    December 14, 2020

    Hi I had an error to activate my env, ccould you help me? please

  • Jeff Heaton
    December 14, 2020

    Thanks for your tutorial, I am a beginner to use Python. I have a question about running the existing py file with this environment. My question is how to run the py file within the environment and I have tried to run one py file download from the internet and I get an error with "ModuleNotFoundError: No module named 'cv2'". It will be very helpful to solve this cause I have a GTX1070 and the program seems not to use GPU for training and can't finish the training process after a few days.

  • Jeff Heaton
    December 14, 2020

    The oldest version of my gpu driver only supports 11.1 and the recommended is 10.1 🙁

  • Jeff Heaton
    December 14, 2020

    Thank you sir. This is the most detailed video. I have been trying to setup TensorFlow environment for a week and found your video luckily. Thanks a lot for making this video. I can start learning finally

  • Jeff Heaton
    December 14, 2020

    Is anaconda necessary or could I use pipenv to just set up my own environment?

  • Jeff Heaton
    December 14, 2020

    very nice tutorial! it worked perfectly fine with me with no errors (tested it on K20c with cuda 10.1

  • Jeff Heaton
    December 14, 2020

    pip install tensorflow-directml and forget NVIDIA

  • Jeff Heaton
    December 14, 2020

    using "conda env create -f tensorflow-gpu.yml" instead of "conda env create -v -f tensorflow-gpu.yml" worked for me just in case someone else is stuck.

  • Jeff Heaton
    December 14, 2020

    Thank you so much! you save my time!!!

  • Jeff Heaton
    December 14, 2020

    with you it is a complete headache :/ i have a tesla k40m and Qudaro k2200

  • Jeff Heaton
    December 14, 2020

    Hi Sir, I cannot install the nvidia driver. How to find a compatible version?

  • Jeff Heaton
    December 14, 2020

    Jeff, thank you for this tutorial. Phenomenal! It worked for me with no errors! Would you be able to create a tutorial for Linux users? I have this running on my laptop, but have more GPU juice on my Linux machine running Ubuntu 20. Thanks again!

  • Jeff Heaton
    December 14, 2020

    Thank you so much, I can't imagine how much it would take to install tensorflow without this video. Subscribed 🙂

  • Jeff Heaton
    December 14, 2020

    Nice!

  • Jeff Heaton
    December 14, 2020

    Jeff, sos mi ídolo. Muchas gracias maestro!

  • Jeff Heaton
    December 14, 2020

    very helpful

  • Jeff Heaton
    December 14, 2020

    is it possible for us to run pythoncodes using gpu but without gpu, am stuck can you help

  • Jeff Heaton
    December 14, 2020

    Q: I have anaconda individual edition stalled, i do not need miniconda installed again, right?

  • Jeff Heaton
    December 14, 2020

    You, Sir, are truly awesome. Followed this as is and no problems. I'm going to be recommending this to whoever I know working with tensorflow gpu

  • Jeff Heaton
    December 14, 2020

    Videos like this prevent thousands of hours of unnecessary struggling. Thank you.

Write a comment