gpt4 book ai didi

azure - 如何使用 Rest Api 获取 Azure 机器学习服务管道运行的状态?

转载 作者:行者123 更新时间:2023-12-03 01:35:47 25 4
gpt4 key购买 nike

我创建了一个 Azure 机器学习服务管道,我使用其其余端点从外部调用该管道。但我还需要定期监控它的运行,无论它是完成还是失败。机器学习管道的休息端点内是否有一种方法,我可以点击该方法来检查其运行状态?我已经尝试过此处链接中提到的步骤 https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/machine-learning-pipelines/pipeline-batch-scoring/pipeline-batch-scoring.ipynb

最佳答案

要获取运行状态,您可以使用此处描述的 REST API https://github.com/Azure/azure-rest-api-specs/tree/master/specification/machinelearningservices/data-plane

具体来说你需要https://github.com/Azure/azure-rest-api-specs/blob/master/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json

使用此调用来获取包括状态在内的运行信息:

/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/details

关于azure - 如何使用 Rest Api 获取 Azure 机器学习服务管道运行的状态?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58117200/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com