https://kedro.org/ logo
#questions
Title
# questions
z

Zhe Sha

02/05/2024, 7:41 PM
HI team, I wanted to use the
tracking.MetricsDataset
to save and load some model metrics. However, when I try to load the data, I always get the following error
Copy code
DatasetError: Loading not supported for 'MetricsDataSet'
After checked the source code here, I realised this type of dataset load is not supported yet. Did I understand this correctly? Should I try to avoid using this type of dataset now?
i

Ian Whalen

02/05/2024, 7:44 PM
I'm pretty sure
MetricsDataset
is just supposed to be read by kedro experiment tracking. But as you can see, its just a JSON dataset with some extra checks on it You could swap
MetricsDataset
to
JSONDataset
and things would work fine If you still want both you could add an extra node just for reporting that outputs it as a metrics dataset Kind of clunky but its an idea!
z

Zhe Sha

02/05/2024, 7:47 PM
ah, got it. Didn't read the documentation carefully, which mentioned this is "write-only“. Thanks!
👍 1