diff --git a/src/super_gradients/training/dataloaders/dataloaders.py b/src/super_gradients/training/dataloaders/dataloaders.py index a506346946..3b9f0a2d17 100644 --- a/src/super_gradients/training/dataloaders/dataloaders.py +++ b/src/super_gradients/training/dataloaders/dataloaders.py @@ -886,6 +886,8 @@ def get(name: str = None, dataset_params: Dict = None, dataloader_params: Dict = if dataset is not None: dataloader_params = _process_sampler_params(dataloader_params, dataset, {}) + dataloader_params = _process_collate_fn_params(dataloader_params) + dataloader = DataLoader(dataset=dataset, **dataloader_params) dataloader.dataloader_params = dataloader_params