only in DRRG import DRRGHead

pull/7976/head
WenmuZhou 2022-10-18 07:31:07 +00:00
parent c44f3bc78c
commit 273068527f
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,6 @@ def build_head(config):
from .det_fce_head import FCEHead
from .e2e_pg_head import PGHead
from .det_ct_head import CT_Head
from .det_drrg_head import DRRGHead
# rec head
from .rec_ctc_head import CTCHead
@ -59,6 +58,10 @@ def build_head(config):
'DRRGHead'
]
if config['name'] == 'DRRGHead':
from .det_drrg_head import DRRGHead
support_dict.append('DRRGHead')
#table head
module_name = config.pop('name')