Upload model predictions
Last updated
Was this helpful?
Last updated
Was this helpful?
Once you've trained an initial machine learning model on your labeled data, you can upload the model predictions as pre-labels to further speed up your labeling workflow.
To add a label to a sample programmatically, use the function in the Python SDK. Note that the format of the attributes
field depends on the .
The sample will now have a label status of prelabeled, and will appear in the label queue along with any unlabeled samples. Instead of having to label the sample from scratch, the labelers can now focus on verifying and correcting the pre-label though.
Instead of uploading the labels as pre-labels of the ground truth label set, you can also upload them in a separate label set. Doing so unlocks a few features:
You can visualize the ground truth and predicted labels side by side.
When labeling, you can copy the label from any label set with the click of a button, to avoid labeling from scratch.
You can upload a prediction score along with the label, allowing you to sort and browse your predictions by accuracy.
First, create a new label set:
Go to the Samples tab.
Click the "Add new label set" link.
Choose a name and optionally a description for the new label set.
Click the "Create" button.
You can search through the ground-truth and uploaded labels simultaneously. For example, ground-truth.car:>0 my-predictions.car:=0
matches samples where the "ground-truth" label contains strictly more than 0 "car" objects AND the "my-predictions" label contains 0 "car" objects. For more information, see .
Then, refer to this label set when adding a label to a sample using :