fix typo error (#1387)

release/2.0-rc1-0
zhoujun 4 years ago committed by GitHub
parent 1007e5309c
commit 058c0e5302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
}

Loading…
Cancel
Save