Multiple dataloaders for val/test in the form of Dict in LightningDataModule #12048
Unanswered
woozch
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 6 replies
-
hey @wgchang ! within |
Beta Was this translation helpful? Give feedback.
6 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.
-
Hi.
I am currently developing a multi-task model that evaluates some datasets with different evaluation metrics for each, but it is impossible to configure multiple val/test dataloader in the form of a dictionary(mapping).
https://github.com/PyTorchLightning/pytorch-lightning/blob/2d043857eef55eb327528b70c8b33c680e82fb7b/pytorch_lightning/core/datamodule.py#L232
It seems that configuring the dataloader in the form of Dict in LightningDataModule is only possible with train_dataloader.
Why not make it possible in val_dataloader or test_dataloader? Is there any other reason for this design?
Beta Was this translation helpful? Give feedback.
All reactions