如果直接pip install tensorflow速度非常慢,所以这里使用了清华镜像,指令如下:
pip install tensorflow-gpu==2.1.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
等号后面的版本号根据自己的需要修改,CPU版去掉-gpu即可。
如果直接pip install tensorflow速度非常慢,所以这里使用了清华镜像,指令如下:
pip install tensorflow-gpu==2.1.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
等号后面的版本号根据自己的需要修改,CPU版去掉-gpu即可。