安装tensorflow时,如果使用直接安装速度相对较慢,采取清华大学的镜像会提高速度。
GPU版本安装方法:

pip install tensorflow-gpu1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install tensorflow
1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple

豆瓣镜像安装

pip install tensorflow-gpu==1.8 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

pytorch 下载镜像

pip install torch=1.6.0 torchvision=0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

Logo

昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链

更多推荐