Skip to content

Commit 582c183

Browse files
committed
create run not start
1 parent 8ada804 commit 582c183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model_search_upload.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def uploat_to_mlflow(temp_dir, **context):
8585
metrics=['mean_test_score', 'mean_fit_time']
8686

8787
for i, p in enumerate(dct['params'].values()):
88-
with client.start_run():
88+
with client.create_run(experiment_id):
8989
p = json.loads(p.replace('\'', '"'))
9090
for parname, parvalue in p.items():
9191
client.log_param(parname, value=parvalue)

0 commit comments

Comments
 (0)