UBUNTU18.04+CUDA10.0+CUDNN+caffe-ssd搭建踩坑2019.9.5总结
CUDA10.0+cudnn安装
安装cuda10.0
sudo dpkg -i cuda-repo-ubuntu1804-10-0-local-10.0.130-410.48_1.0-1_amd64.deb
sudo apt-key add /var/cuda-repo-<version>/7fa2af80.pub
sudo apt-get update
sudo apt-get install cuda
使用vim编辑器在~/.bashrc的最后添加环境变量
~/.bashrc
export PATH=/usr/local/cuda-10.0/bin${
PATH:+:${
PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${
LD_LIBRARY_PATH:+:${
LD_LIBRARY_PATH}}
source ~/.bashrc
<