Download GeometryForcing/experiments/data_modules/val_data_module.py from BonanDing/worldmem-baseline-evals: direct link, hf CLI and curl.
- Browser
- Download file 312 Bytes
-
https://huggingface.co/BonanDing/worldmem-baseline-evals/resolve/main/GeometryForcing/experiments/data_modules/val_data_module.py
- Command line
-
hf download hf://BonanDing/worldmem-baseline-evals/GeometryForcing/experiments/data_modules/val_data_module.py
-
curl -L -o val_data_module.py https://huggingface.co/BonanDing/worldmem-baseline-evals/resolve/main/GeometryForcing/experiments/data_modules/val_data_module.py
312 Bytes
| from lightning.pytorch.utilities.types import EVAL_DATALOADERS | |
| from .base_data_module import BaseDataModule | |
| class ValDataModule(BaseDataModule): | |
| def val_dataloader(self) -> EVAL_DATALOADERS: | |
| return [ | |
| self._dataloader(split) for split in self.exp_cfg.validation.dataset_splits | |
| ] | |