Map-Det3D / mapdet3d /data /typing.py
RoyYang0714's picture
feat: Add the Gradio demo for Map-Det3D.
0122a25
Raw
History Blame Contribute Delete
621 Bytes
"""Type definitions related to the data pipeline.
This file defines the data format `DictData` as an arbitrary dictionary that
can, in principle, hold arbitrary data. However, we provide `CommonKeys` in
`mapdet3d.data.const` to define the input format for commonly used input types,
so that the data pre-processing pipeline can take advantage of pre-defined
data formats that are necessary to properly pre-process a given data sample.
"""
from __future__ import annotations
from typing import Union
from mapdet3d.common.typing import DictStrAny
DictData = DictStrAny
DictDataOrList = Union[DictData, list[DictData]]