Increase pycocotools robustness (#1396)
This commit is contained in:
1 parent
9b0f6e33ee
commit
0c26c4e831
2 files changed
+3
-4
No files matched your search
@@ -183,7 +183,7 @@ def train(hyp, opt, device, tb_writer=None, wandb=None):
|
||||
if rank in [-1, 0]:
|
||||
ema.updates = start_epoch * nb // accumulate # set EMA updates
|
||||
testloader = create_dataloader(test_path, imgsz_test, total_batch_size, gs, opt,
|
||||
hyp=hyp, augment=False, cache=opt.cache_images and not opt.notest, rect=True,
|
||||
hyp=hyp, cache=opt.cache_images and not opt.notest, rect=True,
|
||||
rank=-1, world_size=opt.world_size, workers=opt.workers)[0] # testloader
|
||||
|
||||
if not opt.resume:
|
||||
|
||||
Reference in new issue
Block a user