vis4d.eval.scalabel.base¶
Scalabel base evaluator.
Classes
|
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