Prelabel with live training
Overview
Pre-labels a whole dataset with a live training session that is still running, so labelers open images that already carry boxes from the latest weights.
Use it to pre-label a batch before it goes to labeling: the session keeps learning from every submitted image, and each batch it pre-labels comes from a model that has seen everything labeled so far. Unlike a Predict node, nothing has to stop the session to produce a checkpoint first.
Prerequisites
How it works
FAQ
Does this stop or slow down the live training session?
It does not stop it. Training pauses for each request while the batch is predicted and resumes right after. A smaller Images per request hands the GPU back to training sooner.
Why did the run fail with a message from the session?
The session refuses to predict while it is still loading, or before it knows any classes. Wait until it is up, or submit a labeled image or list classes in its Config, and run the node again.
Are the pre-labels counted in the session's assistance score?
Yes. The session remembers every prediction it hands out, so when a labeler submits a pre-labeled image, the session scores the submission against the boxes this node saved.
What happens to the input dataset?
Nothing. The images are copied into the new dataset with the predictions as their annotations. Connect the new dataset to the step that queues images for labeling.
Inputs
Running live training session to ask. It keeps training while this node runs, and each image is predicted with the weights it has at that moment. Key: DEPLOYMENT.
Images to pre-label. They are left untouched here and copied, with the predicted boxes, into a new dataset. Key: DATASET.
Keep only boxes at least this confident. Empty uses the session’s own threshold. Minimum: 0. Maximum: 1. Step: 0.05. Key: CONF_THRESHOLD.
How many images each request to the session carries. The session pauses training for every request, so a smaller batch hands the GPU back to training sooner. Minimum: 1. Maximum: 64. Step: 1. Key: BATCH_SIZE.
Outputs
New dataset holding the input images with the session’s predictions as their annotations. Key: OUTPUT_DATASET.
How many images got predictions, and the training iteration of the weights that made the last of them. Shown on the node as a badge. Selecting the badge opens OUTPUT_DATASET. Key: PRED_COUNT.
Models and configuration
The model is whatever the session is training at the moment of each request, so there is no model to pick here. The session’s own Config decides the vocabulary. Confidence threshold overrides the session’s threshold for this run only, and leaving it empty keeps the session’s.
Runtime
Runs on an ordinary worker without a GPU. The predictions run on the session’s GPU, so the session has to be up for the whole run.
JSON config
Machine-readable node interface for automation and advanced usage.