我爱编程

使用anaconda 安装pytorch

2018-05-24  本文已影响0人  胡思乱想的我最皮

系统: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环境安装与配置

上一篇 下一篇

猜你喜欢

热点阅读