Created
July 8, 2021 07:29
-
-
Save Taehun/74ff4437cd46edf8b9819f8c0e6e2b0a to your computer and use it in GitHub Desktop.
AzureML 웹 서비스에서 배포된 모델 목록 가져오기
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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