未验证 提交 bfa05707 编写于 作者: T topduke 提交者: GitHub

fix nrtr posrprocess lower in chinese (#9103)

上级 2295e9a0
...@@ -799,7 +799,7 @@ class NRTRLabelDecode(BaseRecLabelDecode): ...@@ -799,7 +799,7 @@ class NRTRLabelDecode(BaseRecLabelDecode):
else: else:
conf_list.append(1) conf_list.append(1)
text = ''.join(char_list) text = ''.join(char_list)
result_list.append((text.lower(), np.mean(conf_list).tolist())) result_list.append((text, np.mean(conf_list).tolist()))
return result_list return result_list
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册