/usr/local/cuda/include/cudnn.h:60:10: fatal error: cudnn_version.h: 没有那个文件或目录 #include “cudnn_vers

/usr/local/cuda/include/cudnn.h:60:10: fatal error: cudnn_version.h: 没有那个文件或目录
 #include "cudnn_version.h"
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
sudo chmod a+r /usr/local/cuda/lib64/libcudnn*



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*

你可能感兴趣的:(Ubuntu,深度学习,caffe,pytorch)