1、查看cuda版本
cat /usr/local/cuda/version.txt
2、查看cudnn版本
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A
3、tensorflow下载慢
pip install tensorflow -i https://pypi.douban.com/simple
4、tensorflow安装 报错 ModuleNotFoundError: No module named 'setuptools'
pip3 install --upgrade setuptools
sudo pip3 install tensorflow-gpu==1.13. -i https://pypi.douban.com/simple
sudo pip3 install --upgrade --force-reinstall tensorflow-gpu==1.9. --user -i https://pypi.douban.com/simple