Skip to content

关于cudnn编译的问题 #30

Open
@syxrz789

Description

因为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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions