Last active
May 23, 2018 09:45
-
-
Save codePrincess/1e44e8cf707e7fafed7cbf07af160fe0 to your computer and use it in GitHub Desktop.
Initialise CoreMLRequest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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