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
Summary
Allow AI Text-to-Annotation to run a user's own custom-trained detection model, not only the built-in
sam3andyoloworldmodels.Use case / motivation
Reported by a daily LabelMe user who builds YOLO training datasets:
Current behavior
labelme/widgets/_ai_text_to_annotation_widget.py(sam3:latest,yoloworld:latest); there is no way to register a user model.osam, whose model/cache location is hardcoded with no config override.Considerations
osamsupport for registering / loading user-provided weights, and possibly a configurable model directory (see Suggest customizing the model directory #1428).Related