使用国内源来安装pytorch(速度很快)

一、找到合适的安装方式

pytorch官网:https://pytorch.org/
在这里插入图片描述

二、安装命令

pip3 install torch torchvision -i  https://pypi.mirrors.ustc.edu.cn/simple

后面的是镜像,当然也可以采用其他源,网上很多,在这里不再陈述。


版权声明:本文为qq_29462849原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。