Skip to content

Commit 89727c9

Browse files
authored
Merge pull request #9935 from typhoonzero/fix_metrics_name
fix chunk evaluator name in metrics
2 parents 672cc25 + f8d85bd commit 89727c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/paddle/fluid/metrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,15 @@ def eval(self):
169169
return self.value / self.weight
170170

171171

172-
class ChunkEvalutor(MetricBase):
172+
class ChunkEvaluator(MetricBase):
173173
"""
174174
Accumulate counter numbers output by chunk_eval from mini-batches and
175175
compute the precision recall and F1-score using the accumulated counter
176176
numbers.
177177
"""
178178

179179
def __init__(self, name=None):
180-
super(ChunkEvalutor, self).__init__(name)
180+
super(ChunkEvaluator, self).__init__(name)
181181
self.num_infer_chunks = 0
182182
self.num_label_chunks = 0
183183
self.num_correct_chunks = 0

0 commit comments

Comments
 (0)