<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLObjectDetector/resume(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML16MLObjectDetectorV6resumeyAA5MLJobCyACGAA17MLTrainingSessionCyACGKFZ"
  },
  "title" : "resume(_:)"
}
-->

# resume(_:)

Begins or continues an asynchronous object-detector training session.

```
static func resume(_ session: MLTrainingSession<MLObjectDetector>) throws -> MLJob<MLObjectDetector>
```

## Parameters

`session`

An [`MLTrainingSession`](/documentation/CreateML/MLTrainingSession) instance that represents the training session.

## Return Value

An [`MLJob`](/documentation/CreateML/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:)`](/documentation/CreateML/MLObjectDetector/makeTrainingSession(trainingData:annotationType:parameters:sessionParameters:))
or [`restoreTrainingSession(sessionParameters:)`](/documentation/CreateML/MLObjectDetector/restoreTrainingSession(sessionParameters:)).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)