Created
November 12, 2017 20:18
-
-
Save vmalyi/7d4c3e97493b1b5a649d32b158821b52 to your computer and use it in GitHub Desktop.
Run or Walk (Part 4): Import Keras Neural Network to iOS app with Core ML
This file contains 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
class PredictionViewController: UIViewController, | |
... | |
try! Classifier().makePrediction(inputData) == 0 ? showWalkImage() : showRunImage() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment