分数取均值

This commit is contained in:
WenmuZhou 2020-11-17 17:27:59 +08:00
parent 31d48243b8
commit 903b102f5f
1 changed files with 1 additions and 1 deletions

View File

@ -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):