resume(_:)
Begins or continues an asynchronous object-detector training session.
Declaration
static func resume(_ session: MLTrainingSession<MLObjectDetector>) throws -> MLJob<MLObjectDetector>Parameters
- session:
An Mltrainingsession instance that represents the training session.
Return Value
An MLJob that represents the object-detector training session.
Discussion
Use this method to start or resume a training session you get from makeTrainingSession(trainingData:annotationType:parameters:sessionParameters:) or restoreTrainingSession(sessionParameters:).