Update train.py (#2149)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-02-06 11:21:04 -08:00
1 parent 86897e3663
commit ad839eda38
1 file changed
+1 -1
+1 -1
View File
@@ -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,