From 5f69b286094933362b9de04bcdd9a8c23f71ca8e Mon Sep 17 00:00:00 2001 From: sanyhe Date: Thu, 2 Jan 2025 23:15:43 +0800 Subject: [PATCH] fix: fix the url of mlflow tracking server. --- geochemistrypi/data_mining/cli_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geochemistrypi/data_mining/cli_pipeline.py b/geochemistrypi/data_mining/cli_pipeline.py index 08e6e1e..ab1ca59 100644 --- a/geochemistrypi/data_mining/cli_pipeline.py +++ b/geochemistrypi/data_mining/cli_pipeline.py @@ -237,7 +237,7 @@ def _data_requirement_print(): # Create a new experiment or use the previous experiment is_used_previous_experiment = Confirm.ask("✨ Use Previous Experiment", default=False) # Set the tracking uri to the local directory, in the future, we can set it to the remote server. - experiments_location = os.path.join("file:", WORKING_PATH, "geopi_tracking") + experiments_location = "file:///" + os.path.join(WORKING_PATH, "geopi_tracking") mlflow.set_tracking_uri(experiments_location) # Print the tracking uri for debugging. # print("tracking uri:", mlflow.get_tracking_uri())