Skip to content

Commit

Permalink
Update train.py (ultralytics#5014)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Sep 30, 2021
1 parent 21b355d commit 16472c4
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 @@ -412,7 +412,7 @@ def train(hyp, # path/to/hyp.yaml or hyp dictionary
batch_size=batch_size // WORLD_SIZE * 2,
imgsz=imgsz,
model=attempt_load(f, device).half(),
iou_thres=0.7 if is_coco else 0.6, # best pycocotools results at 0.7
iou_thres=0.65 if is_coco else 0.60, # best pycocotools results at 0.65
single_cls=single_cls,
dataloader=val_loader,
save_dir=save_dir,
Expand Down

0 comments on commit 16472c4

Please sign in to comment.