Simplify _base_ config (#3166)
parent
ef03d17968
commit
84fbb2c6ee
5 changed files with 110 additions and 11 deletions
@ -1,4 +1,11 @@ |
|||||||
_base_ = './schedule_1x.py' |
# optimizer |
||||||
|
optimizer = dict(type='SGD', lr=0.02, momentum=0.9, weight_decay=0.0001) |
||||||
|
optimizer_config = dict(grad_clip=None) |
||||||
# learning policy |
# learning policy |
||||||
lr_config = dict(step=[16, 19]) |
lr_config = dict( |
||||||
|
policy='step', |
||||||
|
warmup='linear', |
||||||
|
warmup_iters=500, |
||||||
|
warmup_ratio=0.001, |
||||||
|
step=[16, 19]) |
||||||
total_epochs = 20 |
total_epochs = 20 |
||||||
|
@ -1,4 +1,11 @@ |
|||||||
_base_ = './schedule_1x.py' |
# optimizer |
||||||
|
optimizer = dict(type='SGD', lr=0.02, momentum=0.9, weight_decay=0.0001) |
||||||
|
optimizer_config = dict(grad_clip=None) |
||||||
# learning policy |
# learning policy |
||||||
lr_config = dict(step=[16, 22]) |
lr_config = dict( |
||||||
|
policy='step', |
||||||
|
warmup='linear', |
||||||
|
warmup_iters=500, |
||||||
|
warmup_ratio=0.001, |
||||||
|
step=[16, 22]) |
||||||
total_epochs = 24 |
total_epochs = 24 |
||||||
|
Loading…
Reference in new issue