-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[darknet] build failure #17124
Comments
Hi @Goru1890 Thanks for posting this issue. I cannot reproduce this on my machine with Visual Studio 2017 and CUDA 11.2.
|
Thanks for the reply, I tried it at well with VS2017 and that worked for me, but not with VS2019. It's a little bit annoying to uninstall and install different VS version anytime you want to install something different. |
Yes, I will also try to confirm the result with VS2019. Thanks for your update. |
@Goru1890 @NancyLi1013 @Goru1890 @cenit |
nope, it depends on #15942 which in turn depends on AlexeyAB/darknet#7279 (which is finally ready now). |
nope, it should be ok now |
@NancyLi1013 sorry for the late respond. After a successful installation of darknet[opencv3-cuda,cudnn]:x64-windows, darknet is not able to use the GPU. I think there were some architecture incompatibilities with darknet and the new rtx 3000 series, I have a 3060. |
you need the CUDA feature to enable cuda! darknet[cuda,cudnn,opencv3-cuda] |
but cudnn should enable it automatically, if not that's a bug in the portfile. Let me check it later :) |
config-x64-windows-dbg-err.log config-x64-windows-dbg-out.log It seems like it is not found cudnn, but I followed these steps https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html. EDIT: But the darknet[cuda,opencv3-cuda] worked for me, darknet can now train with GPU, but I guess not with cudnn. |
The above error has been fixed in PR #18005. You can update vcpkg to try this again. Please let me know if this is still a problem for you. |
I always do a git pull before trying to install something with vcpkg. |
and also a vcpkg update && vcpkg upgrade ? |
I didn't try that, I will try it. |
and if you try a darknet[cudnn, ...] installation you still have the same failure? |
Yes |
can you please remove and reinstall cudnn .\vcpkg remove cudnn and post full console logs about this process, and then verify if darknet still produces same error? |
also please show output of this command
|
I removed darknet, cudnn, and opencv3 And then I runned vcpkg install darknet[cudnn,cuda,opencv3-cuda]:x64-windows again Now it works perfectly, thanks for your help. |
please close issue :) |
Thanks for your help @cenit. I'm closing this issue for now since this issue has been solved. |
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install darknet[opencv3-cuda,cudnn]:x64-windows
Fails because of this same error AlexeyAB/darknet#7533
Maybe the version of darknet in vcpkg should be updated.
The text was updated successfully, but these errors were encountered: