This commit is contained in:
Glenn Jocher 2019-04-17 18:40:12 +02:00
parent 7787090165
commit 5fe0346176
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ def train(
# Dataloader
dataloader = DataLoader(dataset,
batch_size=batch_size,
num_workers=0,
num_workers=opt.num_workers,
shuffle=True,
pin_memory=True,
collate_fn=dataset.collate_fn,