conda install -c conda-forge tensorflow
don't recomend forge on this one!!!!!
anaconda:
conda install -c anaconda tensorflow
conda-forge:
conda install -c conda-forge tensorflow
conda install -c conda-forge tensorflow=1.14
How To Install Tensorflow 2.5 using conda?
Posted by TechGopal on March 30, 2021 at 6:10 pm
This is a guide to install TensorFlow 2.5 with the following dependency versions
– Python : 3.8
– CUDA Toolkit 11.0
– cuDNN 8.0
1. Create a new conda envirniment with python 3.8.
conda create -n tensorflow_25 python=3.8
We need to switch the newly created enviroment.
conda activate tensorflow_25
2. Install CUDA Toolkit
conda install -c anaconda cudatoolkit
3. Install cuDNN
conda install -c conda-forge cudnn
4. Install Tensorflow GPU
pip install tensorflow==2.5
5. Verify installation
python
This will open the python terminal. Use the following command to check if GPU is detected.
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
conda create -n tf tensorflow #Create a Virtual environment(tf).
conda activate tf #Activate the Virtualenv environment
pip install tensorflow #install TensorFlow in it.
conda create -n tf tensorflow
conda activate tf
conda create -n tensorflow_env tensorflow
conda activate tensorflow_env
Code Example |
---|
:: how to add extra zeros after decimal in python |
:: |
:: |
:: udp socket python |
:: add key if not exists python |
:: |
:: |
Python :: |
:: for in python |
Python :: |
Python :: fetch data from excel in python |
:: upload to test pypi |
:: |
Python :: print random integers python |
Python :: |
Python :: python unittest |
Python :: |
:: |
:: c++ call python function |
Python :: python dictionary |
Python :: bringing last column to first: Pandas |
Python :: |
Python :: |
:: |
Python :: fullscreen cmd with python |
:: querydict instance is immutable |
Python :: |
:: |
:: get body from request python |
Python :: qt designer messagebox python |