TensorFlow2.3安装

Install python 3.7.9
python -m pip install --upgrade pip

CPU:
pip install tensorflow-cpu==2.3.0 -i https://pypi.douban.com/simple/

GPU:
检查算力,要求不低于3.5:
https://developer.nvidia.com/cuda-gpus#compute
检查驱动版本>418.x:
nvidia-smi
安装CUDA 10.1 update2:
https://developer.nvidia.com/cuda-toolkit-archive
安装cuDNN 7.6.5:
https://developer.nvidia.com/cudnn
解压cudnn到CUDA的安装目录下
pip install tensorflow-gpu==2.3.0 -i https://pypi.douban.com/simple/

Test:
python
import tensorflow as tf
print(tf.__version__)
tf.test.is_gpu_available()


pip install pandas numpy matplotlib