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
ObjectTrainingStatuswith member variables.Declaration
Swift
public init( ready: Bool, inProgress: Bool, dataChanged: Bool, latestFailed: Bool, rscnnReady: Bool, description: String )Parameters
readyWhether you can analyze images in the collection with the objects feature.
inProgressWhether training is in progress.
dataChangedWhether there are changes to the training data since the most recent training.
latestFailedWhether the most recent training failed.
rscnnReadyWhether the model can be downloaded after the training status is
ready.descriptionDetails 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.
View on GitHub
ObjectTrainingStatus Structure Reference