出现这个问题,最好去看看cudnn版本是不是符合代码环境的要求 一般改改就好了。 可参考:https://blog.csdn.net/Dorothy_Xue/article/details/82468923中关于cudnn安装的部分进行修改。