mmocr/configs/textdet/maskrcnn/mask-rcnn_resnet50-oclip_fpn_160e_icdar2015.py
Tong Gao d92444097d
[Config] Add oCLIP configs (#1509)
* [Config] Add oClip configs

* fix linitng

* fix
2022-11-03 17:57:13 +08:00

16 lines
354 B
Python

_base_ = [
'mask-rcnn_resnet50_fpn_160e_icdar2015.py',
]
load_from = None
_base_.model.cfg.backbone = dict(
_scope_='mmocr',
type='CLIPResNet',
init_cfg=dict(
type='Pretrained',
checkpoint='https://download.openmmlab.com/'
'mmocr/backbone/resnet50-oclip-7ba0c533.pth'))
_base_.optim_wrapper.optimizer.lr = 0.02