This commit is contained in:
Glenn Jocher 2019-04-17 00:02:24 +02:00
parent 6204d83f3a
commit 9990e72e6d
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def train(
dataloader = DataLoader(dataset, dataloader = DataLoader(dataset,
batch_size=batch_size, batch_size=batch_size,
num_workers=num_workers, num_workers=num_workers,
shuffle=True, shuffle=False,
pin_memory=True, pin_memory=True,
collate_fn=dataset.collate_fn, collate_fn=dataset.collate_fn,
sampler=sampler) sampler=sampler)