Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于cudnn编译的问题 #30

Open
syxrz789 opened this issue Jan 8, 2021 · 1 comment
Open

关于cudnn编译的问题 #30

syxrz789 opened this issue Jan 8, 2021 · 1 comment

Comments

@syxrz789
Copy link

syxrz789 commented Jan 8, 2021

因为CUDA Version: 11.0,所以装的cudnn为 v8.0.4,设置cuda=1,cudnn=1,然后编译,然后报错了,如下
error:CUDNN_CONVOLUTION_FWD_PREFER_FASTEST undeclared (first use in this function); did you mean CUDNN_CONVOLUTION_BWD_FILTER_ALGO_3? int forward_algo = CUDNN_CONVOLUTION_FWD_PREFER_FASTEST; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CUDNN_CONVOLUTION_BWD_FILTER_ALGO_3 compilation terminated due to -Wfatal-errors.

网上有找原因,可能是cudnn版本过高导致,只能cudnnv3-v7版本,但是对应cuda11.0的cudnn只有v8版本的

然后同样的配置编译AlexeyAB/darknet的版本能够通过,但我想做mobilenet版本的yolo

@KingofLong
Copy link

我是吧cuda11卸了然后用cuda10.0配7.6.5 的cudnn,然后用cmake做的,不卸载cuda11的话cmake的CMAKE_CUDA_COMPILER总是会检测到cuda11,这个mobilenet-yolo的代码应该是要看AlexeyAB/darknet上个yolov3 release的readme来配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants