user19975572
user19975572

Reputation:

can you download azureml models registred in a workspace to a local folder?

I want to download all model pickle files which are registered in azureml workspace to a local folder. is this possible? using python only don't want to manually download each pickle file using ui

Upvotes: -1

Views: 1134

Answers (1)

Muhammad Pathan
Muhammad Pathan

Reputation: 74

once you retrieve your model from your workspace you can do the following

model.download(exist_ok=True)

This is shown in the docs- https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.model.model?view=azure-ml-py#azureml-core-model-model-download

This answer form @Ninja_coder for this question might be helpful- Model.get_model_path(model_name="model") throws an error: Model not found in cache or in root at

Upvotes: 0

Related Questions