服务器安装深度学习环境

1.检查cuda和cudnn版本

参考

查看cuda和cudnn的版本:

cat /usr/local/cuda/version.txt

cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

服务器装了8.0cuda,没装cudnn

2.安装anaconda

由于只能命令行安装,所以先命令行下载wget https://repo.anaconda.com/archive/Anaconda2-5.1.0-Linux-x86_64.sh

下载地址为https://www.anaconda.com/download/#linux或历史版本https://repo.anaconda.com/archive/


 

下载好以后,参考官网http://docs.anaconda.com/anaconda/install/linux/

猜你喜欢

转载自blog.csdn.net/qq_32425195/article/details/84998470