nicetoolbox.evaluation.metrics.keypoint.KeypointMetric¶
- class nicetoolbox.evaluation.metrics.keypoint.KeypointMetric(cfg: EvaluationMetricType, device: str)[source]¶
Bases:
MetricHandlerHandler for all keypoint metrics.
Initialize the metric handler with its config and device, creating its metrics.
- Parameters:
cfg (MetricTypeConfig) – Configuration for this metric type.
device (str) – Device to run the metrics on (e.g., ‘cpu’ or ‘cuda’).
Methods
Compute final results from all managed metrics.
Process a homogeneous, grouped batch of data for all managed metrics.
Attributes
The name of the metric handler (e.g., 'point_cloud_metrics').
- evaluate() Dict[Tuple[str, str, str], List[BatchResult] | AggregatedResult]¶
Compute final results from all managed metrics.
- property name: str¶
The name of the metric handler (e.g., ‘point_cloud_metrics’).
- process(batch: Dict[str, Any]) None¶
Process a homogeneous, grouped batch of data for all managed metrics.