trw.train.callback_export_classification_errors
¶
Module Contents¶
Classes¶
Export the classification errors |
Attributes¶
- trw.train.callback_export_classification_errors.logger¶
- class trw.train.callback_export_classification_errors.CallbackExportClassificationErrors(max_samples=100, discard_train=True, dirname='errors')¶
Bases:
trw.train.callback.Callback
Export the classification errors
Note: since we can’t guaranty the repeatability of the input (i.e., from the outputs, we can’t associate the corresponding batches), we need to re-run the evaluation and collect batch by batch the errors.
- __call__(self, options, history, model, losses, outputs, datasets, datasets_infos, callbacks_per_batch, **kwargs)¶