Browse Source

Update train.py (#2149)

5.0
Glenn Jocher GitHub 3 years ago
parent
commit
ad839eda38
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      train.py

+ 1
- 1
train.py 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,

Loading…
Cancel
Save