Thiago Valejo
08/12/2025, 3:42 AMmodel:
type: kedro_mlflow.io.models.MlflowModelTrackingDataset
flavor: mlflow.sklearn
save_args:
registered_model_name:model
model_loader:
type: kedro_mlflow.io.models.MlflowModelRegistryDataset
flavor: mlflow.sklearn
model_name: "model"
alias: "champion"
If I try to load the model in a new kedro session, it will demand a run_id. If I try to use the model_loader. It will complain that the wrapper SklearnPipeline object don’t have a run_id, giving this error message:
DatasetError: Failed while loading data from dataset MlflowModelRegistryDataset(alias=champion,
flavor=mlflow.sklearn, model_name=model,
model_uri=models:/model@champion, pyfunc_workflow=python_model).
'dict' object has no attribute 'run_id'
Does any one of you have any idea how I could load the champion model?Rashida Kanchwala
08/12/2025, 9:00 AMThiago Valejo
08/12/2025, 1:03 PMRavi Kumar Pilla
08/12/2025, 1:48 PMYolan Honoré-Rougé
08/12/2025, 4:41 PMYolan Honoré-Rougé
08/12/2025, 4:43 PMYolan Honoré-Rougé
08/12/2025, 4:43 PM