Coder Social home page Coder Social logo

darknet.yolov3's Introduction

Code in (4 steps) YOLOv3 in C#, Custom dataset, 30+ fps, faster & stable than python | 2020 AI Tech

https://www.youtube.com/watch?v=zQW1BMKHWoE&ab_channel=CoolooAI

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

PS:

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.

Issues Fixed

Error 1. System.DllNotFoundException - `Microsoft Visual C++ 2015-2019 Redistributable (x64)

```
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

  1. complied the dll Yolo_cpp_dll.dll
  2. prepare to replace it to the original yolo_cpp_dll_gpu.dll, KEEP with the original name yolo_cpp_dll_gpu.dll

Error 3. YOLO.Detect(File.ReadAllBytes(imagPath)); //System.NotImplementedException: 'C++ dll compiled incorrectly'

solution is here: https://bit.ly/33jVMLb

darknet.yolov3's People

Contributors

12343954 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

darknet.yolov3's Issues

Infinite Loop on new YoloWrapper

Hi, for some reason the application starts but nothing happens, the button has the spinning animation but it never stops for some reason the YOLO object is always null resulting in "YOLO not init ..." when the button is clicked
I have tried placing a breakpoint on Form1.cs line 54 however when i try to STEP IN i cant because the file does not exist. Some assistance would mean a lot ! Thanks !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.