标签:mod evel 配置环境 chmod key include developer hive date
这次介绍的是使用 tensorflow1.8, cuda9.0, cudnn7.0的版本
sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb
sudo apt-key add /var/cuda-9-0-local/7fa2af80.pub
sudo apt-get update
sudo apt-get install cuda
tar -xzvf cudnn-9.0-linux-x64-v7.tgz
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64$LD_LIBRARY_PATH
sudo apt-get install nvidia-cuda-toolkit
pip install tensorflow-gpu
标签:mod evel 配置环境 chmod key include developer hive date
原文地址:https://www.cnblogs.com/Basasuya/p/9261107.html