ibaiGorordo / ONNX-YOLOv8-Object-Detection

Python scripts performing object detection using the YOLOv8 model in ONNX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please add DeepSparse support

kopyl opened this issue · comments

commented

Your inference turned out to be much more accurate than Ultralytic's inference.

I found this interesting thing called DeepSparse. It works faster than ONNX but unfortunately its inference is less accurate than yours + uses heavyweight Torch.

https://github.com/neuralmagic/deepsparse

Could you please help me to use DeepSparse instead of ONNX?

commented

@ibaiGorordo i made it. Hard-coded some dimensions tho: https://pastebin.com/y2J32M90

Could you please help me make it without hard-coded values?

My recommendation is to copy this repository, rename it to something like Deepsparse-YOLOv8-Object-Detection and change the yolov8 class with your changes. For easier findability.

commented

@ibaiGorordo that's what I did. But i suggest you to add the support :)

@kopyl how did you come up with the result of this repo gives higher accuracy than ultralytics yolo? can you elaborate?