提交 89496d4a 编写于 作者: M MissPenguin

refine

上级 8a4678aa
...@@ -362,7 +362,7 @@ class TableLabelDecode(object): ...@@ -362,7 +362,7 @@ class TableLabelDecode(object):
self.end_str = "eos" self.end_str = "eos"
list_character = [self.beg_str] + list_character + [self.end_str] list_character = [self.beg_str] + list_character + [self.end_str]
return list_character return list_character
def __call__(self, preds): def __call__(self, preds):
structure_probs = preds['structure_probs'] structure_probs = preds['structure_probs']
loc_preds = preds['loc_preds'] loc_preds = preds['loc_preds']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册