updates
This commit is contained in:
parent
7787090165
commit
5fe0346176
2
train.py
2
train.py
|
@ -113,7 +113,7 @@ def train(
|
||||||
# Dataloader
|
# Dataloader
|
||||||
dataloader = DataLoader(dataset,
|
dataloader = DataLoader(dataset,
|
||||||
batch_size=batch_size,
|
batch_size=batch_size,
|
||||||
num_workers=0,
|
num_workers=opt.num_workers,
|
||||||
shuffle=True,
|
shuffle=True,
|
||||||
pin_memory=True,
|
pin_memory=True,
|
||||||
collate_fn=dataset.collate_fn,
|
collate_fn=dataset.collate_fn,
|
||||||
|
|
Loading…
Reference in New Issue