py123d_detection.mmcv_plugin.evaluation¶
Evaluating an mmdetection3d run against the ground truth stored in an exported pickle.
mmdetection3d’s NuScenesDataset.evaluate hands predictions to the devkit’s NuScenesEval,
which reads ground truth from a nuScenes database and requires an official split. Neither exists
for a 123D export, so this module builds the ground truth from data_infos instead and hands it
to py123d_detection.core.evaluation, which runs the devkit’s own metric code.
Ground truth goes through the same conversion as predictions
(LiDARInstance3DBoxes -> output_to_nusc_box -> lidar_nusc_box_to_global), so a box
layout mismatch cannot skew the metric in either direction.
The deviations from the official protocol are listed in py123d_detection.core.evaluation.
Functions
|
Evaluate a nuScenes result JSON against the ground truth in the infos. |
|
Global-frame ground-truth boxes per frame token, built from mmdet3d infos. |