以编程方式读取 kubeflow 管道的输出
我使用 python 命令在 Kubeflow 上运行管道,例如:
client.create_run_from_pipeline_func(pipeline_function, arguments=params_dict[name], run_name=name)
它在 Kubeflow 管道上创建一个作业,我希望能够使用 python API 访问有关管道不同步骤的信息。
job.get({step_name}).get_custom_properties({property_name})
我可以通过在 Kubeflow 中打开运行并查看我感兴趣的管道步骤的自定义属性来做到这一点,但我想自动化此过程。你知道是否可以使用 python API 来做到这一点吗?
I run pipelines on Kubeflow with a python command like:
client.create_run_from_pipeline_func(pipeline_function, arguments=params_dict[name], run_name=name)
It creates a job on Kubeflow pipelines and I would like to be able to access the information about the different steps of the pipeline with a python API.
job.get({step_name}).get_custom_properties({property_name})
I can do that by opening the run in Kubeflow and looking at the custom properties of the step of the pipeline I am interested into but I would like to automate this process. Do you know if it is possible to do that with a python API?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用此类从 kubeflow 运行中提取参数:
I used this class to extract the parameters from a kubeflow run: