composer.metrics#
A collection of common torchmetrics.
Classes
Implements F1 Scores for binary classification tasks via sklearn. |
|
Torchmetrics cross entropy loss implementation. |
|
The Dice Coefficient for evaluating image segmentation. |
|
Torchmetric that computes cross entropy on language modeling outputs. |
|
Subclasses |
|
Turns a torch.nn Loss Module into distributed torchmetrics Metric. |
|
Computes the Mean-Average-Precision (mAP) and Mean-Average-Recall (mAR) for object detection predictions. |
|
Torchmetrics mean Intersection-over-Union (mIoU) implementation. |
|
Computes accuracy with support for masked indices. |