From 582c1832bdf8192ac9b50ee504ee6dc76b527331 Mon Sep 17 00:00:00 2001 From: jj Date: Mon, 5 Feb 2024 11:30:00 +0100 Subject: [PATCH] create run not start --- model_search_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_search_upload.py b/model_search_upload.py index 808ea7c..6834b47 100644 --- a/model_search_upload.py +++ b/model_search_upload.py @@ -85,7 +85,7 @@ def uploat_to_mlflow(temp_dir, **context): metrics=['mean_test_score', 'mean_fit_time'] for i, p in enumerate(dct['params'].values()): - with client.start_run(): + with client.create_run(experiment_id): p = json.loads(p.replace('\'', '"')) for parname, parvalue in p.items(): client.log_param(parname, value=parvalue)