Ian Whalen
05/16/2024, 6:13 PMcatalog.list()
I have a dataset that looks like this:
"{experiment}.model":
type: pickle.PickleDataset
filepath: data/06_models/{experiment}/model.pickle
versioned: true
I have a bunch of namespaced training pipelines that output a model.
When I do a catalog.list()
inside a notebook / ipython terminal no entries captured by this factory show up.
This is likely expected behavior. But is there a way to list datasets that get created from my namespaced pipelines?Yury Fedotov
05/16/2024, 11:10 PMIan Whalen
05/17/2024, 12:21 PMkedro catalog resolve
then
Thanks Yury!Nok Lam Chan
05/17/2024, 12:27 PMIan Whalen
05/17/2024, 12:30 PMcatalog resolve
is basically what I wanted!
But if i'm making a wishlist I would love to be able to do the same thing in a notebook
I was trying to do something like
models = {}
for model_dataset in [d for d in catalog.list() if ".model" in d]:
models[model_dataset] = catalog.load(model_dataset)
I could get it all from catalog resolve
but its a little extra workNok Lam Chan
05/17/2024, 12:33 PM