调整学习率和训练轮数,更新学习率调度器的总迭代次数,优化优化器配置
This commit is contained in:
parent
20537fe10f
commit
e935cf6f85
@ -4,8 +4,8 @@ scheduler_type: LINEAR_WARMUP_THEN_POLY_SCHEDULER
|
|||||||
kwargs: |
|
kwargs: |
|
||||||
{
|
{
|
||||||
"warmup_iters": 5808,
|
"warmup_iters": 5808,
|
||||||
"total_iters": 580800,
|
"total_iters": 290400,
|
||||||
"warmup_ratio": 0.000001,
|
"warmup_ratio": 0.000001,
|
||||||
"min_lr": 0.00000,
|
"min_lr": 0.,
|
||||||
"power": 1.
|
"power": 1.
|
||||||
}
|
}
|
@ -3,7 +3,7 @@ base_config:
|
|||||||
optim_type: AdamW
|
optim_type: AdamW
|
||||||
kwargs: |
|
kwargs: |
|
||||||
{
|
{
|
||||||
"lr": 0.006,
|
"lr": 0.0006,
|
||||||
"weight_decay": 0.01,
|
"weight_decay": 0.01,
|
||||||
"betas": (0.9, 0.999)
|
"betas": (0.9, 0.999)
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ batch_size: 16
|
|||||||
image_height: 200
|
image_height: 200
|
||||||
image_width: 200
|
image_width: 200
|
||||||
workers: 0
|
workers: 0
|
||||||
epochs: 200
|
epochs: 100
|
||||||
|
|
||||||
# 每一类的占比权重,如果要让每一类的占比权重相同,为1.0即可
|
# 每一类的占比权重,如果要让每一类的占比权重相同,为1.0即可
|
||||||
weight:
|
weight:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user