vis4d.eval.scalabel.base

Scalabel base evaluator.

Classes

ScalabelEvaluator(annotation_path[, config])

Scalabel base evaluation class.

class ScalabelEvaluator(annotation_path, config=None)[source]

Scalabel base evaluation class.

Initialize the evaluator.

evaluate(metric)[source]

Evaluate the dataset.

Return type:

tuple[Dict[str, Union[float, int, Tensor]], str]

gather(gather_func)[source]

Gather variables in case of distributed setting (if needed).

Parameters:

gather_func (Callable[[Any], Any]) – Gather function.

Return type:

None

process_batch(*args, **kwargs)[source]

Process sample and update confusion matrix.

Return type:

None

reset()[source]

Reset the evaluator.

Return type:

None