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
In postprocess/rtmdet.py the segment path does keep = keep[: min(max_det, 100)], so predict(..., max_det=1000) still returns at most 100 masks. Same on dev.
On dense scenes (up to ~200 objects per 1024 image) this silently drops objects. With an mmdet-trained RTMDet-Ins-x converted to LibreYOLO, mask mAP50 was 0.726 vs 0.809 in mmdet. Scores match exactly, only the cap differs. Patching it locally to keep[:max_det] gives 0.796.
Keeping 100 as the default for COCO parity makes sense, but an explicit max_det should be respected. nms_pre is also clamped to 1000 there.
Activity
EHxuban11 commentedon Oct 21, 2026
Hello @AnuarSv , thank you for opening the issue. You are right and following this issue it has been fixed here: #953
Thanks again for taking the time to report this !
Merge pull request #953 from LibreYOLO/fix/950-rtmdet-ins-max-det
Respect max_det above 100 in RTMDet-Ins postprocess (LibreYOLO#950)