按照这里安装
https://www.jianshu.com/p/141c7e48dc6c
但是在编译时报错
:
error: ‘CUDNN_CONVOLUTION_FWD_PREFER_FASTEST’ was not declared in this scope
CUDNN_CONVOLUTION_FWD_PREFER_FASTEST,
查找资料得知:
https://github.com/opencv/opencv/issues/18352
由于我们的的cudnn是8.0,所以需要更新opencv为4.4