Update train.py (#2149)
Browse files
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=
|
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,
|