-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kedro simple project run error: ModuleNotFoundError followed by ValueError #3198
Comments
Hi @braKhAbid ! Can you try removing all |
Hi @braKhAbid, I took a look at your project, the problem is that the Also all nodes require inputs and outputs, so the |
Hi @astrojuanlu ! actually yes I tried that, I even tried creating a new project without any notebook created and it still fails (I answered your post on the stackoverflow post) |
Thanks for checking! Could you share the complete traceback after you deleted the |
FWIW, I was able to get the project running after a bit of hacking around. Things I changed -
|
Full code available on: https://github.com/braKhAbid/kedro_mnist
I am trying to setup a simple python ML project in Kedro. It is very simple, one pipeline of three nodes, a data loading node, a model computing node and a model evaluating node that just prints the accuracy. This is just to learn to use Kedro for an upcoming project.
Despite the simplicity I am struggling to make this work. Basically my kedro run outputs
ModuleNotFoundError: No module named 'kedro_mnist.pipelines.'
followed by
KeyError: 'pipeline' The above exception was the direct cause of the following exception:
and finally
ValueError: Failed to find the pipeline named 'pipeline'. It needs to be generated and returned by the 'register_pipelines' function.
I tried debugging using Google and ChatGPT. ChatGPT made me create an additional hooks.py file where I register my pipeline, but it didn't solve the problem.
Also posted on stackoverflow here. One suggestion from a Kedro developer was to remove ipynb checkpoints folder, which didn't solve the problem, neither did creating a new project without notebook. Same error pops on spaceflights starter folder from kedro.
Any help would be greatly appreciated. I am using Kedro 0.18.13.
I expect normally a float value to be printed in the console.
The full error traceback is:
The text was updated successfully, but these errors were encountered: