Commit 310237a5 authored by shizhm's avatar shizhm
Browse files

修改文档

parent a08a6cb4
......@@ -333,7 +333,7 @@ class process_pred(object):
else:
conf_list.append(1)
text = ''.join(char_list)
result_list.append((text, np.mean(conf_list)))
result_list.append(text)
return result_list
def __call__(self, preds, label=None):
......
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