TrainingStatus Class

Training status object.

All required parameters must be populated in order to send to Azure.

Inheritance
TrainingStatus

Constructor

TrainingStatus(*, status, created, last_action=None, last_successful_training=None, message: Optional[str] = None, **kwargs)

Parameters

status
str or TrainingStatusType
Required

Required. Training status: notstarted, running, succeeded, failed. If the training process is waiting to perform, the status is notstarted. If the training is ongoing, the status is running. Status succeed means this person group or large person group is ready for Face - Identify, or this large face list is ready for Face - Find Similar. Status failed is often caused by no person or no persisted face exist in the person group or large person group, or no persisted face exist in the large face list. Possible values include: 'nonstarted', 'running', 'succeeded', 'failed'

created
datetime
Required

Required. A combined UTC date and time string that describes the created time of the person group, large person group or large face list.

last_action
datetime
Required

A combined UTC date and time string that describes the last modify time of the person group, large person group or large face list, could be null value when the group is not successfully trained.

last_successful_training
datetime
Required

A combined UTC date and time string that describes the last successful training time of the person group, large person group or large face list.

message
str
Required

Show failure message when training failed (omitted when training succeed).