Overview of custom label validation
Custom label validation in settings
Submission allowed
Submission with errors prevented
label: Label[]
Label
object below:
Label[]
object by going to the labeling tool -> opening command bar cmd/ctrl + k
-> Copy current label state to clipboard.
[]
if no errors are found. These error message strings will be displayed to the annotators on the labeling tool.
To help you write a validation function with several checks, RedBrick AI has a custom-defined function assert
that accepts a boolean statement and a corresponding error message. The two scripts below will produce the same result:
Submission with errors is allowed
Submission with errors is prevented
label
, task
, and series
objects.