class documentation

Mixin for Label classes that contain an instance configuration via an instance attribute.

Contrary to the id field, which is unique to each label, the instance field is unique to each label instance either temporally or across different modalities, allowing you to identify the same logical label across different samples.

Property instance_id The label's instance ID, or None if it does not have one.

Inherited from Label:

Method delete_attribute Deletes the attribute with the given name.
Method get_attribute_value Gets the value of the attribute with the given name.
Method has_attribute Determines whether the label has an attribute with the given name.
Method iter_attributes Returns an iterator over the custom attributes of the label.
Method set_attribute_value Sets the value of the attribute with the given name.

The label's instance ID, or None if it does not have one.