Update train.py
This commit is contained in:
parent
06d264198c
commit
c16b587ac7
2
train.py
2
train.py
|
@ -83,7 +83,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)
|
||||||
|
|
Loading…
Reference in New Issue