cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Exception: Run with UUID l567845ae5a7cf04a40902ae789076093c is already active.

User16826994223
Honored Contributor III

I'm trying to create a new experiment on mlflow but I have this problem:

Exception: Run with UUID l142ae5a7cf04a40902ae9ed7326093c is already active.

 snippet

mlflow.set_experiment("New experiment 2")
 
 
mlflow.set_tracking_uri('http://mlflow:5000')
 
st= mlflow.start_run(run_name='kun')
 
id = st.info.run_id
 
mlflow.log_metric("score", score)
 
mlflow.sklearn.log_model(model, "FinalModel")

1 ACCEPTED SOLUTION

Accepted Solutions

User16826994223
Honored Contributor III

You have to run mlflow.end_run() to finish the first experiment. Then you can create another

View solution in original post

1 REPLY 1

User16826994223
Honored Contributor III

You have to run mlflow.end_run() to finish the first experiment. Then you can create another