You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I specify an experiment in mlflow.yml, and the set up the mlflow configuration interactively, all runs should be stored by default in this experiment while they are currently sotred in mlflow "Default" (0) experiment. This works when running "kedro run" through the CLI.
Steps to Reproduce
# mlflow.ymlexperiment:
name: my_awesome_experimentcreate: True # if the specified `name` does not exists, should it be created?
# test.pyfromkedro.framework.sessionimportKedroSessionfromkedro.framework.startupimportbootstrap_projectfromkedro_mlflow.configimportget_mlflow_configbootstrap_project(r"path/to/project")
withKedroSession.create(project_path=r"path/to/project"):
config=get_mlflow_config()
config.setup()
mlflow.log_param("test_param",1) # this should be logged in "my_awesome_experiment" but is logged in "Default".
Does the bug also happen with the last version on master?
Description
If I specify an experiment in
mlflow.yml
, and the set up the mlflow configuration interactively, all runs should be stored by default in this experiment while they are currently sotred in mlflow "Default" (0) experiment. This works when running "kedro run" through the CLI.Steps to Reproduce
Does the bug also happen with the last version on master?
Yes
Potential solution
The faulty line is:
kedro-mlflow/kedro_mlflow/config/kedro_mlflow_config.py
Line 100 in 904207a
We should use mlflow
mlflow.set_experiment
method, but it does not restore deleted experiment. This wil replace part of the logic here:kedro-mlflow/kedro_mlflow/config/kedro_mlflow_config.py
Lines 124 to 132 in 904207a
The text was updated successfully, but these errors were encountered: