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