You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(export): fix ONNX Runtime example missing decode step (#1251)
Raw session.run output was unpacked directly as boxes/labels with no
sigmoid, no background-column drop, and no name-based output matching.
At num_classes=3 the logits dim (num_classes+1=4) collides with the
box dim (4, cxcywh), so shape-based disambiguation silently swaps
tensors and produces garbage boxes (#1247). Adds the missing decode
and a warning about the collision, mirroring export/_onnx/inference.py.
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
0 commit comments