The version of Linux Kernel:
uname -a
The version of CUDA:
cat /usr/local/cuda/version.txt
获取显卡信息
lspci -vnn | grep VGA -A 12
The version of CUDNN
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
查看自己服务器的NVIDIA型号
lspci | grep -i nvidia
使用anaconda创建虚拟环境
conda create -n hml-py2.7-tf pip python=2.7
conda create -n hml-py3.6-tf pip python=3.6