提交 27306852 编写于 作者: 文幕地方's avatar 文幕地方

only in DRRG import DRRGHead

上级 c44f3bc7
......@@ -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')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册