Skip to content

Instantly share code, notes, and snippets.

@anupamchugh
Last active September 30, 2019 19:39
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 anupamchugh/9a2a670b475ebbde817f5bc3e4ef91c9 to your computer and use it in GitHub Desktop.
Save anupamchugh/9a2a670b475ebbde817f5bc3e4ef91c9 to your computer and use it in GitHub Desktop.
model_spec.isUpdatable = True
model_spec.specificationVersion = coremltools._MINIMUM_UPDATABLE_SPEC_VERSION
model_spec.description.trainingInput[0].shortDescription = 'Image for training and updating the model'
model_spec.description.trainingInput[1].shortDescription = 'Set the value as Cat or Dog and update the model'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment