下载pytorch换成清华源

时间:2020-03-11 00:00:08   收藏:0   阅读:692

首先进入网站https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ 查看更改方法 如下:

 

技术分享图片

 

 

 

 或者使用下面命令

查看源:conda config --show-sources

换成清华源:conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

设置搜索时显示通道地址:conda config --set show_channel_urls yes

输入上面三条命令也可以。

然后进入pytorch官网:https://pytorch.org/ 找到自己要下载的版本

 

技术分享图片

然后用conda install 命令即可使用清华源进行安装如上图命令。

 

原文:https://www.cnblogs.com/ahulwj/p/12459382.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!