This commit is contained in:
Glenn Jocher 2019-06-12 11:29:36 +02:00
parent a2d392b5c3
commit 37a07a44a1
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ def train(
dataloader = DataLoader(dataset,
batch_size=batch_size,
num_workers=opt.num_workers,
shuffle=False, # disable rectangular training if True
shuffle=True, # disable rectangular training if True
pin_memory=True,
collate_fn=dataset.collate_fn)