Skip to content

Skip RLE masks in COCO Importing#1675

Merged
BryonLewis merged 2 commits into
mainfrom
coco-rle-warnings
Jun 2, 2026
Merged

Skip RLE masks in COCO Importing#1675
BryonLewis merged 2 commits into
mainfrom
coco-rle-warnings

Conversation

@BryonLewis
Copy link
Copy Markdown
Collaborator

@BryonLewis BryonLewis commented Jun 1, 2026

related to #1671

This PR will make it so it warns instead of errors when RLE segmentation masks are found in a COCO file.

COCO Support has been updated to do the following:

  • Errors if only RLE encoded segmentations are found (we don't have any bboxes associated with detections)
  • Will skip RLE encoded segmentations if bounding boxes are along with them
  • Will automatically generate a bbox if only polygons are found that are not RLE encoded

Demo Videos for Web and Desktop:

DIVE-20260601-COCO-RLE-Web_small.mp4
DIVE-20260601-COCO-RLE-Desktop.mp4

@BryonLewis BryonLewis mentioned this pull request Jun 1, 2026
@BryonLewis BryonLewis merged commit 71434ff into main Jun 2, 2026
3 checks passed
@BryonLewis BryonLewis deleted the coco-rle-warnings branch June 2, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant