Commit 903b102f authored by WenmuZhou's avatar WenmuZhou
Browse files

分数取均值

parent 31d48243
...@@ -81,7 +81,7 @@ class BaseRecLabelDecode(object): ...@@ -81,7 +81,7 @@ class BaseRecLabelDecode(object):
else: else:
conf_list.append(1) conf_list.append(1)
text = ''.join(char_list) text = ''.join(char_list)
result_list.append((text, conf_list)) result_list.append((text, np.mean(conf_list)))
return result_list return result_list
def get_ignored_tokens(self): def get_ignored_tokens(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment