Skip to content

Commit

Permalink
create run not start
Browse files Browse the repository at this point in the history
  • Loading branch information
jrybicki-jsc committed Feb 5, 2024
1 parent 8ada804 commit 582c183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model_search_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 582c183

Please sign in to comment.