updates
This commit is contained in:
parent
1f943e886f
commit
b81beb0f5f
1
train.py
1
train.py
|
@ -210,6 +210,7 @@ def train():
|
||||||
# Test Dataloader
|
# Test Dataloader
|
||||||
if not opt.prebias:
|
if not opt.prebias:
|
||||||
testloader = torch.utils.data.DataLoader(LoadImagesAndLabels(test_path, img_size, batch_size, hyp=hyp,
|
testloader = torch.utils.data.DataLoader(LoadImagesAndLabels(test_path, img_size, batch_size, hyp=hyp,
|
||||||
|
rect=True,
|
||||||
cache_labels=True,
|
cache_labels=True,
|
||||||
cache_images=opt.cache_images),
|
cache_images=opt.cache_images),
|
||||||
batch_size=batch_size,
|
batch_size=batch_size,
|
||||||
|
|
Loading…
Reference in New Issue