Table Of Contents
Table Of Contents

Caffe

class mxnet.metric.Caffe(name='caffe', output_names=None, label_names=None)[source]

Dummy metric for caffe criterions.

__init__(name='caffe', output_names=None, label_names=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([name, output_names, label_names]) Initialize self.
get() Gets the current evaluation result.
get_config() Save configurations of metric.
get_name_value() Returns zipped name and value pairs.
reset() Resets the internal evaluation result to initial state.
update(_, preds) Updates the internal evaluation result.
update_dict(label, pred) Update the internal evaluation with named label and pred