安装 anaconda 环境

wget -P /data/wuxiaotian/ https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh -i https://pypi.tuna.tsinghua.edu.cn/simple/

bash Anaconda3-5.2.0-Linux-x86_64.sh

export PATH="/data/wuxiaotian/anaconda3/bin:$PATH"

pip install https://download.pytorch.org/whl/cu80/torch-0.4.1-cp36-cp36m-linux_x86_64.whl

在该页面手动下载 torch 0.4.1 cuda8的 .whl 文件,传输到Linux
https://pytorch.org/get-started/previous-versions/

猜你喜欢

转载自blog.csdn.net/xnmc2014/article/details/86545714