glenn-jocher commited on
Commit
ad839ed
·
unverified ·
1 Parent(s): 86897e3

Update train.py (#2149)

Browse files
Files changed (1) hide show
  1. train.py +1 -1
train.py CHANGED
@@ -414,7 +414,7 @@ def train(hyp, opt, device, tb_writer=None, wandb=None):
414
  if opt.data.endswith('coco.yaml') and nc == 80: # if COCO
415
  for conf, iou, save_json in ([0.25, 0.45, False], [0.001, 0.65, True]): # speed, mAP tests
416
  results, _, _ = test.test(opt.data,
417
- batch_size=total_batch_size,
418
  imgsz=imgsz_test,
419
  conf_thres=conf,
420
  iou_thres=iou,
 
414
  if opt.data.endswith('coco.yaml') and nc == 80: # if COCO
415
  for conf, iou, save_json in ([0.25, 0.45, False], [0.001, 0.65, True]): # speed, mAP tests
416
  results, _, _ = test.test(opt.data,
417
+ batch_size=batch_size * 2,
418
  imgsz=imgsz_test,
419
  conf_thres=conf,
420
  iou_thres=iou,