Skip to content

Support custom user-trained models in AI Text-to-Annotation #2195

Description

@wkentaro

This was generated by AI during triage.

Summary

Allow AI Text-to-Annotation to run a user's own custom-trained detection model, not only the built-in sam3 and yoloworld models.

Use case / motivation

Reported by a daily LabelMe user who builds YOLO training datasets:

  • Their target objects are domain-specific and not covered by the built-in models.
  • Their workflow today: annotate in LabelMe -> train a YOLO model -> run detection.
  • If LabelMe's AI Text-to-Annotation could use their own trained model, they could pre-annotate the objects their model already knows and focus manual effort on the under-trained ones, i.e. model-assisted labeling on their own domain (a productivity flywheel).

Current behavior

  • The model list is hardcoded in labelme/widgets/_ai_text_to_annotation_widget.py (sam3:latest, yoloworld:latest); there is no way to register a user model.
  • Models are served through osam, whose model/cache location is hardcoded with no config override.

Considerations

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-humanissue: Requires human implementationtype: featureissue: Requesting a new capability or improvement

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions