TheTweak commented on issue #5229: how to print loss value for each batch URL: https://github.com/apache/incubator-mxnet/issues/5229#issuecomment-353737240 @salemmohammed I guess you already figured how to do it, but this discussion is top1 result for "how to print loss mxnet module", so I will paste the solution here: `accuracy = mx.metric.Accuracy()` `ce_loss = mx.metric.CrossEntropy()` `comp_metric = mx.metric.CompositeEvalMetric([accuracy, ce_loss])` and then pass `comp_metric` to `module.fit(...eval_metric=comp_metric)`
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
