Skip to content

Instantly share code, notes, and snippets.

@aymericdelab
Created October 15, 2019 16:41
Show Gist options
  • Save aymericdelab/e0e3065948efa3390187bd565e5193ce to your computer and use it in GitHub Desktop.
Save aymericdelab/e0e3065948efa3390187bd565e5193ce to your computer and use it in GitHub Desktop.
register model in azure to deploy it
from azureml.core.model import Model
model_dir='./outputs/founder-classifier/outputs/model/1570442423'
# Tip: When model_path is set to a directory, you can use the child_paths parameter to include
# only some of the files from the directory
model = Model.register(model_path = model_dir,
model_name = "founder-classifier",
description = "classification of founders using CNN",
workspace = ws)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment