From e74267ae19d44b84cffacc47f50540d5ad89b6bc Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Tue, 30 Oct 2018 18:51:48 +0800 Subject: [PATCH] "fix comp bug. test=develop" (#14104) --- python/paddle/fluid/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/metrics.py b/python/paddle/fluid/metrics.py index a4503e75671..f65b37903a3 100644 --- a/python/paddle/fluid/metrics.py +++ b/python/paddle/fluid/metrics.py @@ -194,7 +194,7 @@ class CompositeMetric(MetricBase): or soft-label, should custom the corresponding update rule. """ for m in self._metrics: - ans.append(m.update(preds, labels)) + m.update(preds, labels) def eval(self): """ -- GitLab