我无法更改 MLflow 实验的实验 ID。
目前,我正在运行以下代码以在记录之前创建一个实验:
mlflow.set_experiment(experiment_name="my_model")
with mlflow.start_run():
#train model
这样做可以创建一个新的实验,但实验ID将始终为1。
创建的yaml文件如下所示:
artifact_location: file:///project/src/mlruns/1
experiment_id: '1'
lifecycle_stage: active
name: my_model
我试图查看 MLflow 文档,但是我找不到更改实验 ID 的示例或函数。 非常感谢任何关于此的帮助或提示。