Skip to content

Commit

Permalink
Fix shuffle in train dataloader
Browse files Browse the repository at this point in the history
  • Loading branch information
sungchul2 committed Jul 3, 2023
1 parent 927cadc commit a70c521
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def train_dataloader(self) -> Union[DataLoader, List[DataLoader], Dict[str, Data
"""
return DataLoader(
self.train_dataset,
shuffle=False,
shuffle=True,
batch_size=self.config.train_batch_size,
num_workers=self.config.num_workers,
collate_fn=collate_fn,
Expand Down

0 comments on commit a70c521

Please sign in to comment.