How to correctly test the model by using multiple test data loaders ? #5791
Unanswered
AristoYU
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 2 comments
-
In here, the logger filters each dataloader result by "key".
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm just thinking, isn't it better to allow a loader_idx argument in the test_epoch_end similar to the test_step method? Also, the above link seems broken. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to correctly test the model by using multiple test data loaders ?
My benechmark has two test datasets, so I just want to test those two datasets in one test epoch. However, I don't know how to correctly using those two data loader in the
test_*
fucntions. Here is my code:Code
DataModule
Module
What have you tried?
After I testing the model, I got the information like this:
So, What can I do to change the information format like this:
Beta Was this translation helpful? Give feedback.
All reactions