今天安装了一下tf2.3,网上的加速教程就一句话,
pip install tensorflow-gpu==2.3 -i https://pypi.tuna.tsinghua.edu.cn/simple/
用清华的镜像,结果我试了好几次都下载失败了。最后换了豆瓣的源一下子就下载下来了。
pip install tensorflow-gpu==2.3 -i https://pypi.douban.com/simple
所以以后清华的源下载不下来的时候多试试其他的源。
阿里的源也行,
pip install tensorflow-gpu==2.3 -i https://mirrors.aliyun.com/pypi/simple