Skip to content
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

TypeError: on_validation_epoch_end() missing 1 required positional argument: 'outs' #2

Open
kskim-phd opened this issue Mar 29, 2024 · 2 comments

Comments

@kskim-phd
Copy link

Dear Author,
I sincerely appreciate your great work!

Could you please check the following error, when I run the training code?
Please note that pytorch_lightning version installed is 2.2.0, as the same as in requirements.txt
Thank you very much!

image
@YifaSuoha962
Copy link

Dear Author, I sincerely appreciate your great work!

Could you please check the following error, when I run the training code? Please note that pytorch_lightning version installed is 2.2.0, as the same as in requirements.txt Thank you very much!

image

The problem derives from lack of input corresponding to the fucntion on_validation_epoch_end() lies in the three framework files below (chosen with blue background).
image
You can set default value for argument 'outs' in each function to solve it, like this.
image

@kskim-phd
Copy link
Author

Thank you sincerely :) !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants