提交 49895d09 编写于 作者: W WenmuZhou

fix typo error

上级 1007e530
......@@ -32,9 +32,8 @@ class ClsMetric(object):
def get_metric(self):
"""
return metircs {
'acc': 0,
'norm_edit_dis': 0,
return metrics {
'acc': 0
}
"""
acc = self.correct_num / self.all_num
......
......@@ -57,7 +57,7 @@ class DetMetric(object):
def get_metric(self):
"""
return metircs {
return metrics {
'precision': 0,
'recall': 0,
'hmean': 0
......
......@@ -43,7 +43,7 @@ class RecMetric(object):
def get_metric(self):
"""
return metircs {
return metrics {
'acc': 0,
'norm_edit_dis': 0,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册