Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚开始使用 Kubeflow,遇到了一个问题。我需要我的管道能够自动获取它所属的实验的名称。我尝试使用kfp 包,但在我看来,没有办法获得当前运行的实验名称。你有什么建议吗?非常感谢!
运行与实验相关,而不是相反。当您运行管道时,您可以使用kfp.Client.run_pipeline参数指定实验名称。当您不指定实验时,它将自动绑定到 AI 平台上的默认实验。
kfp.Client.run_pipeline
因此,您无需获取实验名称,因为您在运行管道时指定了实验。