AlturosDestinations / Alturos.Yolo

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

Can't initialize yolo9000 #196

Open tkefauver opened 9 months ago

tkefauver commented 9 months ago

As the title says I can't get the yolo9000 model to initialize using CPU-mode on Windows.

I was able to merge the xaa and xab files and added the data/ directory to the same folder as the .cfg and .weights files but keep getting this exception (on this line):

Unhandled exception at 0x00007FFAF1A7DF28 (ucrtbase.dll) in MyApp.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.

v2 and v3 work fine so it must be something weird and my visual c++ libs are 2015-2022 NOT 2015-2019 but don't want to mess with that...

The yolo9000 directory structure is like this: Screenshot 2023-12-20 135821

Oh and I'm using the Yolo.net (3.0.6-alpha.2) package...

Any ideas what's wrong?