Hello! I am using kedro dataset factories and can...
# questions
g
Hello! I am using kedro dataset factories and can't see the tracking metrics datasets in kedro viz experiment tracking. I am using kedro 0.19.6 and kedro-viz 9.2.0. The same pipeline works without dataset factories set up. Is there any additional config for it to work?
👀 1
r
Hi @Giovanna Cavali, Thank you for raising the issue. Could you please let me know the kedro-datasets and python version you are using. Thank you
g
python 3.9 and kedro-datasets 4.0.0
r
So, we had users having issues with this and fixed the issue here. Could you please provide the details on how are you using the dataset factories in your Catalog and may be provide a snippet to debug it at our end. Thank you
g
Copy code
"{model_type}.model_reporting.performance_metrics_dict":
  type: tracking.MetricsDataset
  filepath: "data/09_tracking/{model_type}/performance/performance_metrics_dict.json"
  metadata:
    kedro-viz:
      layer: Tracking
  versioned: True
👀 1
Is this set up correctly? Are we missing anything in the catalog yaml?
r
I don't see any issue here. Did
kedro run
create the dataset in the specified path ?
g
yes. I just ran again to confirm
r
I just tried replicating the issue on my end. The factory pattern is getting resolved. Since you mentioned it was working if you specify normal datasets, I assume you have setup the session store as described here . I am not able to replicate the issue on my end at this time. Could you please raise an issue here with the details of your catalog entry and how you are using it inside your pipeline (may be a snippet). Thank you
Could you also try resinstalling kedro-datasets to see if it fixes the issue. Thank you
g
any specific kedro-dataset version?
r
I tried with 4.0.0. Anything above 2.1.0 should work
g
Ok, will try reinstalling it and if not solved will open an issue
thank you!!
r
Thanks for your patience !