使用anaconda 安装pytorch

系统:ubuntu16.04
更新软件
sudo apt-get update
sudo apt-get upgrade

添加清华anaconda仓库源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

conda config --set show_channel_urls yes

添加清华anaconda pytorch源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

安装pytorch cpu版的指令
conda install pytorch-cpu torchvision-cpu -c pytorch

pytorch中文社区就是官网的复刻
http://pytorch.apachecn.org/

清华大学开源镜像软件站
https://mirror.tuna.tsinghua.edu.cn/help/anaconda/

pytorch中文网
http://www.pytorchtutorial.com/pytorch-networks/

参考文献# Anaconda+Tensorflow环境安装与配置

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容