Envornment
- Ubuntu 18.4
- CUDA Version: 10.0
- CUDNN Version: 7.6.5
Check CUDA & CUDNN version
#CUDA
nvidia-smi
nvcc -version
#CUDNN
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
---------------------------------------------result----------------------------------------
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 6
#define CUDNN_PATCHLEVEL 5
--
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
#include "driver_types.h"
Tensorflow version correspondence
Install anaconda
tip: 安装anaconda前是不需要在系统上安装python滴~,安装anaconda时python也会被安装。
The archive has older versions of Anaconda Individual Edition installers