MMOCR / configs /_base_ /schedules /schedule_sgd_160e.py
tomofi's picture
Add application file
2366e36
raw
history blame
286 Bytes
# optimizer
optimizer = dict(type='SGD', lr=0.08, momentum=0.9, weight_decay=0.0001)
optimizer_config = dict(grad_clip=None)
# learning policy
lr_config = dict(
policy='step',
warmup='linear',
warmup_iters=500,
warmup_ratio=0.001,
step=[80, 128])
total_epochs = 160