pip install tensorflow-gpu==2.5.0 -i https://pypi.doubanio.com/simple --user 1. 1.2 Tensorflow-cpu版本(模型训练慢,不推荐) 去掉上述pip里的“-gpu”即可。如果是CPU版本,安装到此为止。(因为Cuda和Cudnn都是GPU版本所需的) pip install tensorflow==2.5.0 -i https://pypi.doubanio.com/simple 1...