简体   繁体   English

从 Azure 机器学习工作区获取所有现有管道

[英]Getting all existing piplines from an Azure Machine Learning Workspace

I use azure machine learning services (aml) to run a ml-model.我使用 azure 机器学习服务 (aml) 来运行 ml 模型。 When I go to the GUI of AML I can see all the exisiting piplines, but I can't see how they are scheduled.当我转到 AML 的 GUI 时,我可以看到所有现有的管道,但我看不到它们是如何安排的。 I need to get all puplished piplines and the belonging meta data.我需要获取所有已发布的管道和所属的元数据。

How I can get information about an existing pipline with the python sdk?如何使用 python sdk 获取有关现有管道的信息?

Thanks @Lukas Lötters, Iam converting this to answer so that may help other community members:感谢@Lukas Lötters,我正在将其转换为答案,以便可以帮助其他社区成员:

So, From azureml.pipeline.core.schedule import ScheduleRecurrence , Schedule.list(ws) to get information about an existing pipeline with the python sdk.因此,从 azureml.pipeline.core.schedule 导入ScheduleRecurrenceSchedule.list(ws)以使用 python sdk 获取有关现有管道的信息。

Azure documentation about Schedule Recurrence class and Schedule.list .有关Schedule Recurrence 类Schedule.list 的Azure 文档。

once published a pipeline and was able to see from notebook.曾经发布了一个管道并且能够从笔记本中看到。

Every publish will create a REST endpoint as shown here .每次发布将创建一个REST端点显示在这里

published_pipeline1 = pipeline_run1.publish_pipeline(
     name="Published_Titanic_Pipeline_Notebook",
     description="Titanic_Pipeline_Notebook Published Pipeline Description",
     version="1.0")

Metadata from Azure ML: You can enable Web service schema (OpenAPI specification) in the service and consume it by querying the swagger URL of the service.来自 Azure ML 的元数据:您可以在服务中启用Web 服务架构(OpenAPI 规范)并通过查询服务的 swagger URL 来使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM