Martin van Hensbergen
11/27/2025, 10:56 AMMemoryDataset as input for the inference pipeline but I get "`DatasetError: Data for MemoryDataset has not been saved`" error when running:
with KedroSession.create() as session:
context = session.load_context()
context.catalog.get("input").save("mydata")
session.run(pipeline_name="inference")
1. Is this the proper way to do it?
2. Is this a use case that is supported by Kedro or should I only use it for the batch training and use the output of those models manually in my service.Guillaume Tauzin
11/27/2025, 11:23 AMMemoryDataset is meant to pass data between nodes without having to handle saving/loading it.
In your case, have you cosnidered using a parameter instead of a MemoryDataset?
https://docs.kedro.org/en/stable/configure/parameters/Martin van Hensbergen
11/27/2025, 11:51 AMMerel
11/27/2025, 1:00 PM