py123d_detection.mmcv_export.exportΒΆ

One-call export: 123D sources in, an mmdetection3d .pkl out:

from py123d_detection import Source
from py123d_detection.mmcv.export import export_to_mmdet3d

export_to_mmdet3d(
    Source(data_root="/data/py123d", splits=["nuscenes-mini_train"]),
    output_path="/data/nuscenes/py123d_infos_train.pkl",
)

Several sources are merged into one pickle, which is how cross-dataset training (as in CoIn3D) consumes multiple datasets.

Functions

check_timestamp_ordering(infos)

Warning message if sorting by timestamp would split a log apart, else None.

export_to_mmdet3d(sources, output_path[, ...])

Export one or more 123D sources into a single mmdetection3d info pickle.

Classes

ExportReport(write, stats, metadata[, ...])