mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

save training/test error during training in python

Open Lopezurrutia opened this issue 10 years ago • 2 comments

My question is the same as https://github.com/dmlc/mxnet/issues/511 but to do it in python I have tried batch_end_callback = mx.callback.log.train.metric(5, err), but I get the error AttributeError: 'module' object has no attribute 'log'

In python, how can I save, during training, the metrics so I can later plot training curves?

Lopezurrutia avatar Jan 14 '16 09:01 Lopezurrutia

it should be mx.callback.log_train_metric(5) in python.

sodabeta7 avatar Jan 14 '16 09:01 sodabeta7

Thankx

Lopezurrutia avatar Jan 14 '16 09:01 Lopezurrutia