Prelabel with auto labeling
Overview
Pre-labels a dataset’s images with a running auto labeling session, into a new dataset. Each image is labeled from the labeled images the session holds at that moment, and the session keeps running afterwards.
Use it once a session has been given enough labeled images to be useful - by labelers, or by Simulate labeling with auto labeling - to pre-label the rest of a dataset in one pass, or to compare the session’s predictions with ground truth.
Prerequisites
How it works
Adds a version to the node’s own pre-label dataset, on the classes of the input dataset, holding the input images.
FAQ
Why did the run stop with a warning and only some images pre-labeled?
The session refused to predict: it is still loading its model, or holds fewer labeled images than initial_samples in its config asks for. The images it labeled before that are kept. Submit labeled images to the session and run the node again.
What happens when I run it again?
Every run adds a new version of the pre-label dataset with that run’s images and predictions only. The session may hold more labeled images by then, so the same image can come back with a different annotation.
Does it change the input dataset?
No. The input images are added to the node’s own dataset with the predictions as their annotations, and the input dataset keeps its own annotations.
Masks or boxes?
Whichever the session answers in: output_geometry in the session’s config decides. Set it to object_detection when the dataset is labeled with bounding boxes.
Inputs
Running auto labeling session to ask. It labels from the labeled images submitted to it so far, and refuses until it holds as many as its Config requires. Key: DEPLOYMENT.
Images to pre-label. They are left untouched here and copied, with the predicted annotations, into the node’s pre-label dataset. Key: DATASET.
Predictions less confident than this are not drawn. Empty uses the session’s own threshold. Minimum: 0.05. Maximum: 1. Step: 0.05. Key: CONF_THRESHOLD.
How many images each request to the session carries. Every batch is uploaded as soon as it comes back, so a smaller one loses less work if the session stops mid-run. Minimum: 1. Maximum: 64. Step: 1. Key: BATCH_SIZE.
Outputs
The node’s pre-label dataset, holding the input images with the session’s predictions as their annotations. Every run adds a version with this run’s images only. Key: OUTPUT_DATASET.
How many images got predictions, and how many labeled images the session held when it made them. Shown on the node as a badge. Key: PRED_COUNT.
JSON config
Machine-readable node interface for automation and advanced usage.