BaseDetectionMetric
- class easypl.metrics.detection.base.BaseDetectionMetric(iou_threshold: Union[float, List[float]], confidence: Union[float, List[float]], num_classes: Optional[int] = None, **kwargs)
Base detection metric. Compute true positive, false negative and false positive metrics.
- iou_threshold
Iou threshold/thresholds for boxes.
- Type:
Union[float, List[float]]
- confidence
Confidence/confidences thresholds.
- Type:
Union[float, List[float]]
- num_classes
Number of classes.
- Type:
Optional[int]
- kwargs
Torchmetrics Metric args.
- reset()
This method automatically resets the metric state variables to their default value.