cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.