HumanSignal / HumanSignal/label-studio-ml-backend

Annotations disappear when exporting SAM generated labels

Open
#292 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.1k
Forks
490
Avg merge
1d 14h
Merged PRs (30d)
3

Description

I setup the example to use SAM model to label my segmentation dataset faster.
I uploaded a few images from my local machine and was able to prompt SAM with keypoints to generate masks for the objects in it.

In the task source, I do see the annotations as present, however, once I export them to COCO format, the annotations field is empty. I even try exporting to YOLO format, and the annotations are missing there as well.
Is there something I am doing wrong? I followed the guide step-by-step.

Furthermore, in a selected region's metadata for a particular mask, how can this be included in the COCO export?

Greatly appreciate the help.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the SAM-generated masks, then compare the task source annotations with the COCO and YOLO export output. Trace how selected-region metadata is handled during both exports. Done means the generated annotations are present in the exports and the metadata behavior is defined or corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.