def val_dataloader(self, train_resolution, eval_resolutions, **kwargs):
        """Using the same dataloader as test, a hack for zero shot eval without training"""
        kwargs['drop_last'] = False
        kwargs["batch_size"] = kwargs.get("batch_size_eval", None) or kwargs.get("batch_size")
        return {
            name: self._data_loader(dataset, **kwargs)
            for name, dataset in self.dataset_test.items()
        }
Using the same dataloader as test, a hack for zero shot eval without training
analyze/convnexts4nd/src/dataloaders/vision.py