anomalib.utils.metrics.collection¶
Anomalib Metric Collection.
Module Contents¶
Classes¶
Extends the MetricCollection class for use in the Anomalib pipeline. |
- class anomalib.utils.metrics.collection.AnomalibMetricCollection(*args, **kwargs)[source]¶
Bases:
torchmetrics.MetricCollectionExtends the MetricCollection class for use in the Anomalib pipeline.
- set_threshold(threshold_value)[source]¶
Update the threshold value for all metrics that have the threshold attribute.