Skip to content

Instantly share code, notes, and snippets.

@codePrincess
Last active May 23, 2018 09:45
Show Gist options
  • Save codePrincess/1e44e8cf707e7fafed7cbf07af160fe0 to your computer and use it in GitHub Desktop.
Save codePrincess/1e44e8cf707e7fafed7cbf07af160fe0 to your computer and use it in GitHub Desktop.
Initialise CoreMLRequest
let model = try VNCoreMLModel(for: catmoodprediction().model)
let request = VNCoreMLRequest(model: model, completionHandler: self.handleClassification)
var classificationRequest = [ request ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment