training_extensions icon indicating copy to clipboard operation
training_extensions copied to clipboard

Handle empty label in annotator

Open jpggvilaca opened this issue 10 months ago • 1 comments

Unlike in Geti Classic, Geti Tune server will not return the empty label in the list of project labels (it currently does, but it's a bug). At API level, the UI is expected to submit an empty list of annotations ([]) when the empty label is applied; likewise, if the server returns [] annotations, the UI should interpret it as empty label.

Some API examples in this PR: https://github.com/open-edge-platform/training_extensions/pull/5179

jpggvilaca avatar Jan 13 '26 14:01 jpggvilaca

Summary:

  1. UI should display:
  • "No label" for multilabel classification;
  • "No objects" for detection and segmentation. That label should be available for the user to select. At the moment we have only labels dropdown, so it should be placed there.
  1. That label should be displayed at top left corner (like in geti classic)
  2. If image has no annotations, server returns 404.
  3. If image has no annotations but was saved with empty label before, server returns annotations: [].
  4. If we want to submit annotations with empty label, payload should send empty annotations.

dwesolow avatar Jan 15 '26 12:01 dwesolow