yolov5-opencv-cpp-python icon indicating copy to clipboard operation
yolov5-opencv-cpp-python copied to clipboard

update onnx

Open otamajakusi opened this issue 3 years ago • 1 comments

About this PR

First of all thanks for providing the great repo!

This PR fixes the following issues: https://github.com/doleron/yolov5-opencv-cpp-python/issues/15 https://github.com/doleron/yolov5-opencv-cpp-python/issues/7

original model is retrieved from https://github.com/ultralytics/YOLOv5/releases/download/v6.1/YOLOv5n.pt https://github.com/ultralytics/YOLOv5/releases/download/v6.1/YOLOv5s.pt and converted on the original yolov5 repo https://github.com/ultralytics/yolov5 as follows:

python3 export.py --weights YOLOv5n.pt --include onnx
python3 export.py --weights YOLOv5s.pt --include onnx

otamajakusi avatar Aug 30 '22 00:08 otamajakusi

Hi @otamajakusi I'm busy as hell and cannot review your PR. I really apologize for it.

I'll check it as long I have enough time.

Thanks, Luiz.

doleron avatar Sep 10 '22 13:09 doleron

Yes, I had this problem for 2 days and this solved it. When I ran the program it would throw a memory exception if the rows variable was higher than 19203. Thanks.

umloucobr avatar Nov 05 '22 23:11 umloucobr

thank you @otamajakusi this solved issue for me too (running on windows with opencv 4.6.0)

DenisDoroshko avatar Nov 26 '22 22:11 DenisDoroshko