安装tensorflow_gpu:
1. windows上安装cuda (已安装忽略)
2.Anaconda(已安装忽略)
3.创建虚拟环境
conda create -n tf python=3.8
4.安装TensorFlow
conda activate tf
pip install tensorflow-gpu==2.4.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
5.验证
安装tensorflow_gpu:
1. windows上安装cuda (已安装忽略)
2.Anaconda(已安装忽略)
3.创建虚拟环境
conda create -n tf python=3.8
4.安装TensorFlow
conda activate tf
pip install tensorflow-gpu==2.4.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
5.验证