提交 903b102f 编写于 作者: W WenmuZhou

分数取均值

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