update onnx
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
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.
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.
thank you @otamajakusi this solved issue for me too (running on windows with opencv 4.6.0)