Skip to content

Commit e94369d

Browse files
author
yixu.cui
committed
adjust parameter
1 parent 59f6175 commit e94369d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

data/hyp.scratch.custom.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
lr0: 0.01 # initial learning rate (SGD=1E-2, Adam=1E-3)
2-
lrf: 0.1 # final OneCycleLR learning rate (lr0 * lrf)
2+
lrf: 0.2 # final OneCycleLR learning rate (lr0 * lrf)
33
momentum: 0.937 # SGD momentum/Adam beta1
44
weight_decay: 0.0005 # optimizer weight decay 5e-4
5-
warmup_epochs: 3.0 # warmup epochs (fractions ok)
5+
warmup_epochs: 6.0 # warmup epochs (fractions ok)
66
warmup_momentum: 0.8 # warmup initial momentum
77
warmup_bias_lr: 0.1 # warmup initial bias lr
88
box: 0.05 # box loss gain
@@ -26,4 +26,5 @@ fliplr: 0.5 # image flip left-right (probability)
2626
mosaic: 1.0 # image mosaic (probability)
2727
mixup: 0.0 # image mixup (probability)
2828
copy_paste: 0.0 # image copy paste (probability)
29-
paste_in: 0.0 # image copy paste (probability)
29+
paste_in: 0.0 # image copy paste (probability), use 0 for faster training
30+
loss_ota: 0 # use ComputeLossOTA, use 0 for faster training

data/hyp.scratch.p6.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ fliplr: 0.5 # image flip left-right (probability)
2626
mosaic: 1.0 # image mosaic (probability)
2727
mixup: 0.15 # image mixup (probability)
2828
copy_paste: 0.0 # image copy paste (probability)
29-
paste_in: 0.15 # image copy paste (probability)
29+
paste_in: 0.15 # image copy paste (probability), use 0 for faster training
30+
loss_ota: 1 # use ComputeLossOTA, use 0 for faster training

0 commit comments

Comments
 (0)