add _delete_=True to optim wrapper

This commit is contained in:
xiexinch 2022-07-06 17:26:52 +08:00
parent d54f80c649
commit 26a0b4814b
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),