Python 在MLflow中继续停止运行

Python 在MLflow中继续停止运行,python,mlflow,Python,Mlflow,我们在AWS现场实例上运行了我们的实验。有时实验会停止,我们更愿意继续记录到相同的运行。如何设置活动跑步的跑步id 类似这样的伪代码(不工作): if new: mlflow.start_run(experiment_id=1, run_name=x) else: mlflow.set_run(run_id)

我们在AWS现场实例上运行了我们的实验。有时实验会停止,我们更愿意继续记录到相同的运行。如何设置活动跑步的跑步id

类似这样的伪代码(不工作):

if new:
    mlflow.start_run(experiment_id=1, run_name=x)
else:
    mlflow.set_run(run_id)