mirror of
https://github.com/open-mmlab/mmocr.git
synced 2025-06-03 21:54:47 +08:00
* add synthtext config; add db pretrain config; move checkpoint config to schedule * add db_r50 synthtext config * fix r50 eval iter * fix lint * fix
9 lines
304 B
Python
9 lines
304 B
Python
# optimizer
|
|
optimizer = dict(type='SGD', lr=1e-3, momentum=0.99, weight_decay=5e-4)
|
|
optimizer_config = dict(grad_clip=None)
|
|
# learning policy
|
|
lr_config = dict(policy='step', step=[200, 400])
|
|
# running settings
|
|
runner = dict(type='EpochBasedRunner', max_epochs=600)
|
|
checkpoint_config = dict(interval=100)
|