다음을 통해 공유


TrainingStatus Class

Definition

Training status object.

public class TrainingStatus
type TrainingStatus = class
Public Class TrainingStatus
Inheritance
TrainingStatus

Constructors

TrainingStatus()

Initializes a new instance of the TrainingStatus class.

TrainingStatus(TrainingStatusType, DateTime, Nullable<DateTime>, Nullable<DateTime>, String)

Initializes a new instance of the TrainingStatus class.

Properties

Created

Gets or sets a combined UTC date and time string that describes the created time of the person group, large person group or large face list.

LastAction

Gets or sets 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.

LastSuccessfulTraining

Gets or sets 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

Gets or sets show failure message when training failed (omitted when training succeed).

Status

Gets or sets 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'

Methods

Validate()

Validate the object.

Applies to