│ /home/rosana.eljurdi/.local/lib/python3.10/site-...
# questions
r
│ /home/rosana.eljurdi/.local/lib/python3.10/site-packages/kedro/runner/runner.py:392 in │ │ _call_node_run │ │ │ │ 389 │ │ │ is_async=is_async, │ │ 390 │ │ │ session_id=session_id, │ │ 391 │ │ ) │ │ ❱ 392 │ │ raise exc │ │ 393 │ hook_manager.hook.after_node_run( │ │ 394 │ │ node=node, │ │ 395 │ │ catalog=catalog, │ │ │ │ /home/rosana.eljurdi/.local/lib/python3.10/site-packages/kedro/runner/runner.py:382 in │ │ _call_node_run │ │ │ │ 379 ) -> dict[str, Any]: │ │ 380 │ │ │ 381 │ try: │ │ ❱ 382 │ │ outputs = node.run(inputs) │ │ 383 │ except Exception as exc: │ │ 384 │ │ hook_manager.hook.on_node_error( │ │ 385 │ │ │ error=exc, │ │ │ │ /home/rosana.eljurdi/.local/lib/python3.10/site-packages/kedro/pipeline/node.py:357 in run │ │ │ │ 354 │ │ # purposely catch all exceptions │ │ 355 │ │ except Exception as exc: │ │ 356 │ │ │ self._logger.error("Node '%s' failed with error: \n%s", str(self), str(exc)) │ │ ❱ 357 │ │ │ raise exc │ │ 358 │ │ │ 359 │ def _run_with_no_inputs(self, inputs: dict[str, Any]): │ │ 360 │ │ if inputs: │ │ │ │ /home/rosana.eljurdi/.local/lib/python3.10/site-packages/kedro/pipeline/node.py:348 in run │ │ │ │ 345 │ │ │ elif isinstance(self._inputs, str): │ │ 346 │ │ │ │ outputs = self._run_with_one_input(inputs, self._inputs) │ │ 347 │ │ │ elif isinstance(self._inputs, list): │ │ ❱ 348 │ │ │ │ outputs = self._run_with_list(inputs, self._inputs) │ │ 349 │ │ │ elif isinstance(self._inputs, dict): │ │ 350 │ │ │ │ outputs = self._run_with_dict(inputs, self._inputs) │ │ 351 │ │ │ │ /home/rosana.eljurdi/.local/lib/python3.10/site-packages/kedro/pipeline/node.py:388 in │ │ _run_with_list │ │ │ │ 385 │ │ │ │ f"{sorted(inputs.keys())}." │ │ 386 │ │ │ ) │ │ 387 │ │ # Ensure the function gets the inputs in the correct order │ │ ❱ 388 │ │ return self._func(*(inputs[item] for item in node_inputs)) │ │ 389 │ │ │ 390 │ def _run_with_dict(self, inputs: dict[str, Any], node_inputs: dict[str, str]): │ │ 391 │ │ # Node inputs and provided run inputs should completely overlap │ │ │ │ /home/rosana.eljurdi/Kedro_Project/pokemon/src/pokemon/pipelines/loader/nodes.py:8 in │ │ load_pokemon_images │ │ │ │ 5 │ │ 6 def load_pokemon_images(dataset): │ │ 7 │ # Load the dataset using your custom ImageDataSet │ │ ❱ 8 │ images = dataset.load() │ │ 9 │ │ │ 10 │ # Optionally, you can process or manipulate the loaded data here │ │ 11 │ # For example, if you want to return the number of images loaded: │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'dict' object has no attribute 'load' Thread in Slack conversation