Commit 2d5002f2 authored by Your Name's avatar Your Name
Browse files

修改python代码

parent 4360d4cf
......@@ -271,7 +271,7 @@ class process_pred(object):
else:
conf_list.append(1)
text = ''.join(char_list)
result_list.append((text, round(np.mean(conf_list)),2))
result_list.append((text, round(np.mean(conf_list), 2)))
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