py123d_detection.mmcv.plugin

mmdetection3d-side plugin for pickles written by py123d_detection.mmcv.export.

A numpy-format export already works with the stock NuScenesDataset. The plugin is needed for portable exports (arrays stored as lists), to take CLASSES from the pickle’s taxonomy, and to evaluate without a nuScenes database. mmdet3d is only imported if available, so this also imports in a conversion environment.

From an mmdet3d config:

plugin = True
plugin_dir = "py123d_detection/mmcv_plugin/"   # or add py123d_detection to custom_imports

data = dict(
    train=dict(type="Py123DNuScenesDataset", ann_file="py123d_infos_train.pkl", ...),
)

Modules

dataset

A NuScenesDataset subclass for py123d_detection exports.

evaluation

Evaluating an mmdetection3d run against the ground truth stored in an exported pickle.