服务器的选择和初始环境搭建我是看的这篇博客
https://www.cnblogs.com/Mjerry/p/9942498.html
写的挺详细的。我这里有几点补充,比如说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
如果要搭建pytorch环境,我这里有和服务器cudn8.0配套的pytorch离线下载包地址是下面这个,将最后的tar后缀名删除就可以用conda install 包名 进行安装了
链接:https://pan.baidu.com/s/1-BimNBCHrqp9mAyb1rUjuw
提取码:98i9
启动激活notebook环境
source activate jupyter_notebook
运行jupyter
jupyter notebook --allow-root