AlturosDestinations / Alturos.Yolo

C# Yolo Darknet Wrapper (real-time object detection)
MIT License
427 stars 132 forks source link

Running cuda 11.2, rtx 30x series on windows 10 #186

Open avresial opened 2 years ago

avresial commented 2 years ago

Hi! I'm haveing problem with running predictions on following setup:

After setting up yoloWrapper with following line:

       YoloWrapper yoloWrapper = new YoloWrapper(yoloConfiguration, new GpuConfig() { GpuIndex = 0 });

I was given error that cudnn is not found. Even when cudnn64_8.dll was in projects folder. Then i tried changing dlls name from cudnn64_8.dll to cudnn64_7.dll. Then error was no more thrown, but there was another one: Unable to load DLL 'yolo_cpp_dll_gpu'. I found on the internet that yolo_cpp_dll_gpu.dll is simply renamed darknet.dll - I'm not sure if it's right. Anyway I tried to move darknet.dll to projects folder, renameing to yolo_cpp_dll_gpu.dll and it did not work :c I tried downloading yolo_cpp_dll_gpu.dll from another posts on the net, but none of them worked.

Did anyone had the same experience? Did anyone solve it?

I posted about this on reddit as well? Link.