Skip to content

Instantly share code, notes, and snippets.

@bourdakos1
Created April 16, 2018 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bourdakos1/7aa20efa903729f8cd65e6069c63d48c to your computer and use it in GitHub Desktop.
Save bourdakos1/7aa20efa903729f8cd65e6069c63d48c to your computer and use it in GitHub Desktop.
let classifierID = "your-classifier-id"
let failure = { (error: Error) in print(error) }
visualRecognition.updateLocalModel(classifierID: classifierID, failure: failure) {
print("model updated")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment