MMOCR / configs /_base_ /schedules /schedule_adam_step_20e.py
tomofi's picture
Add application file
2366e36
raw
history blame
244 Bytes
optimizer = dict(type='Adam', lr=1e-4)
optimizer_config = dict(grad_clip=None)
lr_config = dict(
policy='step',
step=[16, 18],
warmup='linear',
warmup_iters=1,
warmup_ratio=0.001,
warmup_by_epoch=True)
total_epochs = 20