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
{{ message }}
Repository navigation
FOMO: filter_empty_gt=True in train_dataloader silently drops all background-only images #333
Hi. I'm training FOMO (configs/fomo/fomo_mobnetv2_0.35_x8_coco.py) on Grove Vision AI V2 for pigeon detection on a fixed camera.
The config sets filter_cfg=dict(filter_empty_gt=True, min_size=32) in train_dataloader (line 202). Reading sscma/datasets/coco.py (filter_data, line 426), this drops every image that has no annotation of the target class. In my dataset that removes ~700 negative-only images (empty scenes of the deployment site), so the model never sees background-only frames. Result: val P=0.22 / R=0.83 with default cls_weight=100, and heavy false positives on the empty scene on-device.
Questions:
Is dropping negative images intended for FOMO? For a centroid-per-cell task, background-only images seem essential for precision.
Is train_dataloader.dataset.filter_cfg.filter_empty_gt=False via --cfg-options the supported way to include them, and is the FOMO mask/Mosaic pipeline safe with zero-GT images?
Any recommended cls_weight when negatives are included? Default 100 gives recall-heavy models.
Activity
github-actions commentedon Oct 9, 2026
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.
github-actions commentedon Oct 17, 2026
This issue was closed because it has been stalled for 7 days with no activity.