Classification metrics
ClassificationOutputs #
Bases: TypedDict
The outputs that should be minimally returned from the training/val/test_step of
classification LightningModules so that metrics can be added aumatically by the
ClassificationMetricsCallback
.
ClassificationMetricsCallback #
Bases: Callback[BatchType, ClassificationOutputs]
Callback that adds classification metrics to a LightningModule.