From ad839eda388dcd12b0154b6bc3eef1555a7ff8f7 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 6 Feb 2021 11:21:04 -0800 Subject: [PATCH] Update train.py (#2149) --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 4cbd022bd231..ba48896f1e94 100644 --- a/train.py +++ b/train.py @@ -414,7 +414,7 @@ def train(hyp, opt, device, tb_writer=None, wandb=None): if opt.data.endswith('coco.yaml') and nc == 80: # if COCO for conf, iou, save_json in ([0.25, 0.45, False], [0.001, 0.65, True]): # speed, mAP tests results, _, _ = test.test(opt.data, - batch_size=total_batch_size, + batch_size=batch_size * 2, imgsz=imgsz_test, conf_thres=conf, iou_thres=iou,