分数取均值
This commit is contained in:
parent
31d48243b8
commit
903b102f5f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue