This commit is contained in:
Glenn Jocher 2019-04-15 18:48:18 +02:00
parent 0f43cd7f43
commit e3f0b0248c
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=False, pin_memory=False,
collate_fn=dataset.collate_fn, collate_fn=dataset.collate_fn,
sampler=sampler) sampler=sampler)