mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
add _delete_=True to optim wrapper
This commit is contained in:
parent
d54f80c649
commit
26a0b4814b
@ -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),
|
||||
|
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user