Skip to content

Commit

Permalink
Update train.py (ultralytics#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Feb 6, 2021
1 parent 3177412 commit 6615207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6615207

Please sign in to comment.