techwingslab / yolov5-net

YOLOv5 object detection with C#, ML.NET, ONNX
MIT License
351 stars 104 forks source link

Can't get any predictions #45

Closed jakehaddock closed 2 years ago

jakehaddock commented 2 years ago

First of all, thanks for all the effort you put into this project. I have hit a snag in my development and can't get my project to predict my model. My issue is similar to the following thread, which I have tried the suggestions without success.

https://github.com/mentalstack/yolov5-net/issues/15

I would appreciate any guidance you could give. I "think" the following link contains the needed files to reproduce the problem. Thanks in advance for you help!!

https://1drv.ms/u/s!AsbagbMq6v2-nxSMhgUkpVDVlTBI?e=EOJAzk

jakehaddock commented 2 years ago

I modified custom model to public override int Dimensions { get; set; } = 6; as recommended by another thread and it works. Not sure why but it is good!