Spaces:
Running
on
Zero
Running
on
Zero
File size: 615 Bytes
9b33fca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
"""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
`vis4d.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 vis4d.common.typing import DictStrAny
DictData = DictStrAny
DictDataOrList = Union[DictData, list[DictData]]
|