-
Notifications
You must be signed in to change notification settings - Fork 113
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
Defining and using a custom resolver breaks the "kedro viz run" command #1712
Labels
Comments
I can reproduce this on macOS.
I don't think this is specific to PyTorch though, maybe Kedro Viz is trying to serialise the |
Thanks! One option that works is to use the getattr function directly in nodes.py. |
5 tasks
@SajidAlamQB can you please confirm if this is fixed with #2122 |
Hey @ravi-kumar-pilla, I tested this and it all seems to be working! 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using a custom resolver, the pipeline runs normally, but it becomes impossible to use the
kedro viz run
command.Context
I want to be able to use a custom resolver while still be able to visualize my pipelines.
Steps to Reproduce
Define a custom resolver, i.e. put those lines in settings.py (this resolver transforms an activation function given as a string like 'ReLU' into a class object):
In parameters.yml, use your resolver:
Then, run
kedro viz run
Expected Result
Should render the kedro visualization.
Actual Result
The Kedro visualization does not render, and this error is thrown:
Your Environment
conda environment
kedro version 0.19.1
Python 3.10.13
Windows 10, Version 21H2 (version du système d'exploitation 19044.3803)
The text was updated successfully, but these errors were encountered: