Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrupczak3 committed Mar 3, 2024
1 parent 2004346 commit 51190cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ def main(opt, callbacks=Callbacks()):
'cls_pw': (1, 0.5, 2.0), # cls BCELoss positive_weight
'obj': (1, 0.2, 4.0), # obj loss gain (scale with pixels)
'obj_pw': (1, 0.5, 2.0), # obj BCELoss positive_weight
'dfl': (1, 1.0, 1.75), # dfl loss gain
'iou_t': (0, 0.1, 0.7), # IoU training threshold
'anchor_t': (1, 2.0, 8.0), # anchor-multiple threshold
'anchors': (2, 2.0, 10.0), # anchors per output grid (0 to ignore)
Expand Down
1 change: 1 addition & 0 deletions train_dual.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ def main(opt, callbacks=Callbacks()):
'cls_pw': (1, 0.5, 2.0), # cls BCELoss positive_weight
'obj': (1, 0.2, 4.0), # obj loss gain (scale with pixels)
'obj_pw': (1, 0.5, 2.0), # obj BCELoss positive_weight
'dfl': (1, 1.0, 1.75), # dfl loss gain
'iou_t': (0, 0.1, 0.7), # IoU training threshold
'anchor_t': (1, 2.0, 8.0), # anchor-multiple threshold
'anchors': (2, 2.0, 10.0), # anchors per output grid (0 to ignore)
Expand Down

0 comments on commit 51190cf

Please sign in to comment.