Babyhamsta / Aimmy

Universal Second Eye for Gamers with Impairments (Universal AI Aim Aligner - ONNX/YOLOv8 - C#)
Other
860 stars 336 forks source link

Help on this #1407

Closed DelikadongPako closed 5 months ago

DelikadongPako commented 5 months ago

Output shape 1x13x8400 does not match the expected shape of 1x5x8400.This model will not work with Aimmy, please use an ONNX V8 model.

Babyhamsta commented 5 months ago

OnnxV8 requires 1,5,8400 which is what we require. We do want to potentially automate the handling of future models by automating the handling of sizes but currently we only support the one.

If you could attach your model here I can inspect it. Ensure you are converting a YOLOv8 model to Onnx.

It seems like your output has 13 and not 5. The output should be x, y, width, height, confidence. You can also inspect the element on Netron.