Contents

restoreTrainingSession(sessionParameters:)

Creates an asynchronous training session for an object detector by restoring an existing training session’s state from its parameters.

Declaration

static func restoreTrainingSession(sessionParameters: MLTrainingSessionParameters) throws -> MLTrainingSession<MLObjectDetector>

Parameters

Return Value

An MLTrainingSession that represents the object-detector training session.

Discussion

Use resume(_:) to start the MLTrainingSession instance you get from this method.

See Also

Training an object detector asynchronously