Failed to load custom component

I made a custom extractor, and then registered it in the (both in the component class and in the import), then added it to my pipeline, but when i launch the training i encounter this error.

PS: i can train models fine using premade components, but not when i add a custom one

It seems, that you use windows to run your code. If that is true you will have to set the pythonpath within the system properties: For example:

This thread is a bit older, but I think it will help you to find the option within the windows settings.

Hope that’ll help!

1 Like