piiswrong closed pull request #10635: Stop ignoring the given name of CompositeEvalMetric URL: https://github.com/apache/incubator-mxnet/pull/10635
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/python/mxnet/metric.py b/python/mxnet/metric.py index 152cbc1bb42..76118ccfd2c 100644 --- a/python/mxnet/metric.py +++ b/python/mxnet/metric.py @@ -263,7 +263,7 @@ class CompositeEvalMetric(EvalMetric): def __init__(self, metrics=None, name='composite', output_names=None, label_names=None): super(CompositeEvalMetric, self).__init__( - 'composite', output_names=output_names, label_names=label_names) + name, output_names=output_names, label_names=label_names) if metrics is None: metrics = [] self.metrics = [create(i) for i in metrics] ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services