updates
This commit is contained in:
parent
a2d392b5c3
commit
37a07a44a1
2
train.py
2
train.py
|
@ -156,7 +156,7 @@ def train(
|
||||||
dataloader = DataLoader(dataset,
|
dataloader = DataLoader(dataset,
|
||||||
batch_size=batch_size,
|
batch_size=batch_size,
|
||||||
num_workers=opt.num_workers,
|
num_workers=opt.num_workers,
|
||||||
shuffle=False, # disable rectangular training if True
|
shuffle=True, # disable rectangular training if True
|
||||||
pin_memory=True,
|
pin_memory=True,
|
||||||
collate_fn=dataset.collate_fn)
|
collate_fn=dataset.collate_fn)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue