Model-Assisted Labeling
SUMMARY
Vision tools in the annotation editor runs a Telekinesis Skill or one of your trained Iris models on your images. Predictions become editable boxes and polygons, and nothing is written to disk until you review and save them.
The workflow
- Preview. Run the model with Run on this image or on a preview batch, and inspect the results.
- Scale up. Choose Run on full dataset, or enter Start sample and End sample and choose Run on range. Sample numbers start at 1 and include both ends, so 100 to 200 covers 101 samples.
- Review the predictions and correct them in the editor.
- Save with Save predicted images or Save predicted frames.
Run on full dataset processes every sample, including the ones before the current image. Changing the operation, parameters, or output class requires a new preview. A full run replaces the unedited preview predictions so you don't get duplicates, and it keeps existing annotations and your manual edits.
Models run in a separate process. You can cancel loading or inference at any time, and a crash shows a diagnostic log without closing Lens. Failed or cancelled jobs leave your annotations unchanged.
Use a Telekinesis Skill
Choose a Retina or Cornea operation under Vision tools and set its parameters. These Skills run on the Telekinesis cloud, so set TELEKINESIS_API_KEY before you start Lens, as in the Quickstart.
Use your own Iris model
Label with a model you trained with Iris. Install the Iris extra in the Lens environment:
python -m pip install "telekinesis-lens[iris]"Lens loads Iris deployment exports, so export the model first.
| Model | Input under Vision tools / Iris | Produces |
|---|---|---|
| RF-DETR detection | An .onnx export | Boxes |
| RF-DETR segmentation | An .onnx export | Editable polygons, including holes and separate regions |
| SAM3 LoRA | A .pt deployment bundle | Editable polygons, using the training class names as text prompts |
Type, paste, or Browse to the model path. Each model keeps its own path and settings when you switch between them. Then set a confidence threshold and a device (auto, cpu, or cuda). For RF-DETR, cuda needs the GPU build of ONNX Runtime. For SAM3 LoRA, it needs a CUDA build of PyTorch.
For SAM3 LoRA you can override the prompts by entering one per line in Text prompts. Each image is limited to 100 detections.
Lens resizes input images so the longest side is at most 1280 pixels, then scales annotations back to the original size. Empty masks and masks too small to become polygons are dropped. Last model run shows the prediction counts, skipped results, confidence range, device, and timing.
Map model classes to dataset classes
Iris COCO exports reserve class ID 0 for the background, so model IDs usually don't match your dataset's class IDs. Use Review class mapping to map each model label to a dataset class.
To skip a label, choose Exclude predictions for it. This only skips new predictions and keeps the class and its existing annotations. Saving the mapping remembers it for that model. Run reports show how many predictions were skipped this way.
Combine several models
Turn on Accumulate predictions to add each run's output to the existing annotations instead of replacing the previous preview. Run each model on the same image or range, then review and save the combined result. Repeated runs can create duplicates, so the option is off by default.
Compare models
Compare two to four configurations: different Skills, different Iris models, or the same model with different weights.
- Configure a model under Vision tools, then choose Add current configuration under Compare models. Repeat for each configuration.
- Choose Compare runs, select Current image, an Image range, or Whole dataset, and choose Run comparison.
- Review the results side by side. Each pane shows the prediction counts, class counts, runtime, and settings. Zoom and pan are linked across panes.
To compare runs on one image, choose Overlay & select. Each run gets its own color, and you can select individual predictions, all of one run's predictions, or everything on the image. Then choose Use selection as annotation to replace the draft, or Add selection to annotation to append to it.
To keep a whole run, choose Add run N to editor for the current image or Add run N batch for every image in that run. Then review and save. Comparison results never change your annotations until you add them.