Ubuntu命令行远程安装Anaconda3,pytorch1.0.1,torchvision0.2.1方法

  1. Anaconda3的安装

查看cuda版本

cat /usr/local/cuda/version.txt

 wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
下载Anaconda3.sh文件

安装  sh Anaconda3.sh。该yes的yes,注意加入PATH要yes

2.pytorch1.0.1和torchvision0.2.1安装

sudo pip install --user torch==1.0.1 -f https://download.pytorch.org/whl/cu90/stable (官网在线)
pip install --user torchvision-0.2.1-py2.py3-none-any.whl(离线安装,一般选择在线安装操作)
sudo pip install --user torchvision==0.2.1

pip install metric_learn==0.3.0

pip install scikit_learn==0.19.1
 

你可能感兴趣的:(Ubuntu命令行远程安装Anaconda3,pytorch1.0.1,torchvision0.2.1方法)