ObjectTrainingStatus

public struct ObjectTrainingStatus : Codable, Equatable

Training status for the objects in the collection.

  • Whether you can analyze images in the collection with the objects feature.

    Declaration

    Swift

    public var ready: Bool
  • Whether training is in progress.

    Declaration

    Swift

    public var inProgress: Bool
  • Whether there are changes to the training data since the most recent training.

    Declaration

    Swift

    public var dataChanged: Bool
  • Whether the most recent training failed.

    Declaration

    Swift

    public var latestFailed: Bool
  • Whether the model can be downloaded after the training status is ready.

    Declaration

    Swift

    public var rscnnReady: Bool
  • Details about the training. If training is in progress, includes information about the status. If training is not in progress, includes a success message or information about why training failed.

    Declaration

    Swift

    public var description: String
  • Initialize a ObjectTrainingStatus with member variables.

    Declaration

    Swift

    public init(
        ready: Bool,
        inProgress: Bool,
        dataChanged: Bool,
        latestFailed: Bool,
        rscnnReady: Bool,
        description: String
    )

    Parameters

    ready

    Whether you can analyze images in the collection with the objects feature.

    inProgress

    Whether training is in progress.

    dataChanged

    Whether there are changes to the training data since the most recent training.

    latestFailed

    Whether the most recent training failed.

    rscnnReady

    Whether the model can be downloaded after the training status is ready.

    description

    Details about the training. If training is in progress, includes information about the status. If training is not in progress, includes a success message or information about why training failed.

    Return Value

    An initialized ObjectTrainingStatus.