Merge branch 'xiexinchen/fix_optim_config' into 'refactor_dev'

[Fix] Fix mae/dpt optimizer config error

See merge request openmmlab-enterprise/openmmlab-ce/mmsegmentation!58
This commit is contained in:
zhengmiao 2022-07-07 11:04:10 +00:00
commit a63f77d249
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ model = dict(data_preprocessor=data_preprocessor)
# in backbone
optim_wrapper = dict(
_delete_=True,
type='OptimWrapper',
optimizer=dict(
type='AdamW', lr=0.00006, betas=(0.9, 0.999), weight_decay=0.01),

View File

@ -25,6 +25,7 @@ model = dict(
test_cfg=dict(mode='slide', crop_size=(512, 512), stride=(341, 341)))
optim_wrapper = dict(
_delete_=True,
type='OptimWrapper',
optimizer=dict(
type='AdamW', lr=1e-4, betas=(0.9, 0.999), weight_decay=0.05),