Skip to content

Commit

Permalink
Turn down angle BCELoss positive_weight.
Browse files Browse the repository at this point in the history
  • Loading branch information
acai66 committed Nov 18, 2021
1 parent a4b4dff commit f3ce0d7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions data/hyps/hyp.finetune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ cls: 0.243
cls_pw: 0.631
obj: 0.301
obj_pw: 0.911
angle: 0.266
angle_pw: 0.333 # angle BCELoss positive_weight
angle: 0.03
angle_pw: 0.05 # angle BCELoss positive_weight
iou_t: 0.2
anchor_t: 2.91
# anchors: 3.63
Expand Down
4 changes: 2 additions & 2 deletions data/hyps/hyp.finetune_objects365.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ cls: 0.299
cls_pw: 0.825
obj: 0.632
obj_pw: 1.0
angle: 0.266
angle_pw: 0.333 # angle BCELoss positive_weight
angle: 0.03
angle_pw: 0.05 # angle BCELoss positive_weight
iou_t: 0.2
anchor_t: 3.44
anchors: 3.2
Expand Down
4 changes: 2 additions & 2 deletions data/hyps/hyp.scratch-high.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ cls: 0.3 # cls loss gain
cls_pw: 1.0 # cls BCELoss positive_weight
obj: 0.7 # obj loss gain (scale with pixels)
obj_pw: 1.0 # obj BCELoss positive_weight
angle: 0.266
angle_pw: 0.333 # angle BCELoss positive_weight
angle: 0.03
angle_pw: 0.05 # angle BCELoss positive_weight
iou_t: 0.20 # IoU training threshold
anchor_t: 4.0 # anchor-multiple threshold
# anchors: 3 # anchors per output layer (0 to ignore)
Expand Down
2 changes: 2 additions & 0 deletions data/hyps/hyp.scratch-low.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ cls: 0.5 # cls loss gain
cls_pw: 1.0 # cls BCELoss positive_weight
obj: 1.0 # obj loss gain (scale with pixels)
obj_pw: 1.0 # obj BCELoss positive_weight
angle: 0.03
angle_pw: 0.05 # angle BCELoss positive_weight
iou_t: 0.20 # IoU training threshold
anchor_t: 4.0 # anchor-multiple threshold
# anchors: 3 # anchors per output layer (0 to ignore)
Expand Down
2 changes: 2 additions & 0 deletions data/hyps/hyp.scratch-med.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ cls: 0.3 # cls loss gain
cls_pw: 1.0 # cls BCELoss positive_weight
obj: 0.7 # obj loss gain (scale with pixels)
obj_pw: 1.0 # obj BCELoss positive_weight
angle: 0.03
angle_pw: 0.05 # angle BCELoss positive_weight
iou_t: 0.20 # IoU training threshold
anchor_t: 4.0 # anchor-multiple threshold
# anchors: 3 # anchors per output layer (0 to ignore)
Expand Down
4 changes: 2 additions & 2 deletions data/hyps/hyp.scratch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ cls: 0.5 # cls loss gain
cls_pw: 1.0 # cls BCELoss positive_weight
obj: 1.0 # obj loss gain (scale with pixels)
obj_pw: 1.0 # obj BCELoss positive_weight
angle: 0.266
angle_pw: 0.333 # angle BCELoss positive_weight
angle: 0.03
angle_pw: 0.05 # angle BCELoss positive_weight
iou_t: 0.20 # IoU training threshold
anchor_t: 4.0 # anchor-multiple threshold
# anchors: 3 # anchors per output layer (0 to ignore)
Expand Down

0 comments on commit f3ce0d7

Please sign in to comment.