https://www.youtube.com/watch?v=zQW1BMKHWoE&ab_channel=CoolooAI
-
After a lot of testing and switching between many driver and cuda versions, found that
CUDA10.2+YOLOv3
are the fastest. Other versions are inefficient and have a serious performance loss.NVIDIA GeForce RTX 2080 Ti
GeForce RTX 2060Driver 456.71 !important Driver Date 2020/9/30 Driver Version 27.21.14.5671 CUDA 10.2 cuda_10.2.89_441.22_win10.exe NVCC 10.2 !important cuDNN 10.2 !important YOLO V3 (code for 2019) !important -
Make sure that the graphics driver is not automatically updated to the latest version.
This guarantees the best performance of YOLOv3. -
If you get the "yolo_cpp.dll.dll not found" error, you need to recompile the
yolo_v3.dll
with VS2019, not the VS2022. -
Watch this: Install & test YoloV3 on Windows 10
1, Download all the files
2, Unzip the files by WinRAR via "Extract Here",
1. /Darknet.YoloV3/cudnn64_7.zip
2. /voc_custom/backup/yolov3_custom_63000.zip
3. Change the path in `GlobalSatics.cs`
4. Start and enjoy it
1. I changed the `Alturos.Yolo.dll` and `yolo_cpp_dll_gpu.dll` to fix the issus,
so DO **NOT** use the default DLLs by nuget(You can use the nuget install the Alturos.YOLO package,
and replace the dlls with mine).
2. The `packages` files is modified by me.
3. The `example` images are for testing.
4. The `voc_custom` files are my custom training model.
```
in `.\src\Alturos.Yolo\DefaultYoloSystemValidator.cs`, line: 51
add more vc++ versions check, and recompile
var checkKeys = new Dictionary ...
{
...
{ @"Installer\Dependencies\VC,redist.x64,amd64,14.27,bundle", "Microsoft Visual C++ 2015-2019 Redistributable (x64)" },
{ @"Installer\Dependencies\VC,redist.x64,amd64,14.28,bundle", "Microsoft Visual C++ 2015-2019 Redistributable (x64)" },
{ @"Installer\Dependencies\VC,redist.x64,amd64,14.29,bundle", "Microsoft Visual C++ 2015-2019 Redistributable (x64)" }
};
```
Error 2. System.DllNotFoundException - Unable to load DLL 'yolo_cpp_dll_gpu.dll': The specified module could not be found.
prepare the Yolo_cpp_dll.dll
(GPU mode),
you can follow the tutorial in my channel here
https://youtu.be/zT8eDXpslXw
- complied the dll
Yolo_cpp_dll.dll
- prepare to replace it to the original
yolo_cpp_dll_gpu.dll
, KEEP with the original nameyolo_cpp_dll_gpu.dll
Error 3. YOLO.Detect(File.ReadAllBytes(imagPath)); //System.NotImplementedException: 'C++ dll compiled incorrectly'
solution is here: https://bit.ly/33jVMLb
Enjoy it!