diff --git a/train.py b/train.py index 5bce4adc..0b3eb4e4 100644 --- a/train.py +++ b/train.py @@ -92,7 +92,7 @@ def train( dataloader = DataLoader(dataset, batch_size=batch_size, num_workers=num_workers, - shuffle=False, + shuffle=True, pin_memory=True, collate_fn=dataset.collate_fn, sampler=sampler)