Skip to content

Commit 0610bd3

Browse files
dataloader kwargs part removed
1 parent f8f6c2c commit 0610bd3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pytorch_tabular/tabular_datamodule.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,6 @@ def train_dataloader(self, batch_size: Optional[int] = None) -> DataLoader:
809809
num_workers=self.config.num_workers,
810810
sampler=self.train_sampler,
811811
pin_memory=self.config.pin_memory,
812-
**self.config.dataloader_kwargs,
813812
)
814813

815814
def val_dataloader(self, batch_size: Optional[int] = None) -> DataLoader:
@@ -828,7 +827,6 @@ def val_dataloader(self, batch_size: Optional[int] = None) -> DataLoader:
828827
shuffle=False,
829828
num_workers=self.config.num_workers,
830829
pin_memory=self.config.pin_memory,
831-
**self.config.dataloader_kwargs,
832830
)
833831

834832
def _prepare_inference_data(self, df: DataFrame) -> DataFrame:
@@ -871,7 +869,6 @@ def prepare_inference_dataloader(
871869
batch_size or self.batch_size,
872870
shuffle=False,
873871
num_workers=self.config.num_workers,
874-
**self.config.dataloader_kwargs,
875872
)
876873

877874
def save_dataloader(self, path: Union[str, Path]) -> None:

0 commit comments

Comments
 (0)