0
点赞
收藏
分享

微信扫一扫

怎么安装pytorch

狗啃月亮_Rachel 2022-04-19 阅读 209

pycharm控制台 输入代码下载pytorch cpu版本

pip install torch==1.5.1+cpu torchvision==0.6.1+cpu -f https://download.pytorch.org/whl/torch_stable.html

 下面的是其他的辅助你可详细看


1)pip国内的一些镜像
阿里云 http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
pip install statsmodels -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.douban.com

python37 -m pip install torch==1.5.1+cpu torchvision==0.6.1+cpu -f https://download.pytorch.org/whl/torch_stable.html

pip install torch==1.5.1+cpu torchvision==0.6.1+cpu -f https://download.pytorch
举报

相关推荐

0 条评论