Multiple Validation Sets #11135
-
Hello, I'm trying to validate my model on multiple subsets of the initial validation set to compare performance. Reading this page I got the idea that returning a list contaning the multiple Dataloaders would be enough. My val_dataloader method became the following: But this isn't working properly. I get the following error: "TypeError: validation_step() takes 3 positional arguments but 4 were given" Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Could you share what your validation step implementation is? |
Beta Was this translation helpful? Give feedback.
-
you must be missing the additional |
Beta Was this translation helpful? Give feedback.
you must be missing the additional
dataloader_idx
required in thevalidation_step
for multiple dataloadersdocs: https://pytorch-lightning.readthedocs.io/en/latest/guides/data.html#multiple-validation-test-predict-dataloaders