Skip to content

Instantly share code, notes, and snippets.

@Taehun
Created July 8, 2021 07:29
Show Gist options
  • Save Taehun/74ff4437cd46edf8b9819f8c0e6e2b0a to your computer and use it in GitHub Desktop.
Save Taehun/74ff4437cd46edf8b9819f8c0e6e2b0a to your computer and use it in GitHub Desktop.
AzureML 웹 서비스에서 배포된 모델 목록 가져오기
from azureml.core import Webservice, Workspace
ws = Workspace.from_config()
service_name = "custom-bbox-svc"
service = Webservice(ws, service_name)
service_info = service.serialize()
custom_models = [m_info["id"] for m_info in service_info["modelDetails"]]
print(custom_models)
print(type(custom_models))
custom_models.append("bbox-bf7e10cacebd6538edd8e00e086537b7:4")
print(custom_models)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment