mmocr/configs/textrecog/svtr/svtr-small_20e_st_mj.py
Tong Gao 0aa5d7be6d
[Model] Add SVTR framework and configs (#1621)
* [Model] Add SVTR framework and configs

* update

* update transform names

* update base config

* fix cfg

* update cfgs

* fix

* update cfg

* update decoder

* fix encoder

* fix encoder

* fix

* update cfg

* update name
2023-01-06 16:07:06 +08:00

11 lines
218 B
Python

_base_ = [
'svtr-tiny_20e_st_mj.py',
]
model = dict(
encoder=dict(
embed_dims=[96, 192, 256],
depth=[3, 6, 6],
num_heads=[3, 6, 8],
mixer_types=['Local'] * 8 + ['Global'] * 7))