vis4d.eval.nuscenes.detect3d¶
NuScenes 3D detection evaluation code.
Classes
|
NuScenes 3D detection evaluation class. |
- class NuScenesDet3DEvaluator(data_root, version, split, save_only=False, class_map=None, metadata=('use_camera',), use_default_attr=False, velocity_thres=1.0)[source]¶
NuScenes 3D detection evaluation class.
Initialize NuScenes evaluator.
- evaluate(metric)[source]¶
Evaluate the results.
- 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(tokens, boxes_3d, velocities, class_ids, scores_3d, attributes=None)[source]¶
Process the results.
- Return type:
None
- property metrics: list[str]¶
Supported metrics.