1. 创建虚拟环境
conda create -n tf2.3 python=3.8
2. 进入虚拟环境
conda activate tf2.3
3. 安装 CUDA 以及 cuDNN
conda install cudatoolkit=10.1
conda install cudnn=7.6
4. 安装 Tensorflow2.3
pip install tensorflow==2.3
或者
pip install --upgrade tensorflow
5. 参考链接
- https://tensorflow.google.cn/install/pip?hl=zh_cn
- https://tensorflow.google.cn/install/gpu?hl=zh_cn
此处评论已关闭