MAERec-Gradio / configs /textdet /dbnet /dbnet_resnet50-oclip_1200e_icdar2015.py
Mountchicken's picture
Upload 704 files
9bf4bd7
raw
history blame
525 Bytes
_base_ = [
'dbnet_resnet50-dcnv2_fpnc_1200e_icdar2015.py',
]
load_from = None
_base_.model.backbone = dict(
type='CLIPResNet',
init_cfg=dict(
type='Pretrained',
checkpoint='https://download.openmmlab.com/'
'mmocr/backbone/resnet50-oclip-7ba0c533.pth'))
_base_.train_dataloader.num_workers = 24
_base_.optim_wrapper.optimizer.lr = 0.002
param_scheduler = [
dict(type='LinearLR', end=100, start_factor=0.001),
dict(type='PolyLR', power=0.9, eta_min=1e-7, begin=100, end=1200),
]