vis4d.data.datasets.base¶
Base dataset classes.
We implement a typed version of the PyTorch dataset class here. In addition, we provide a number of Mixin classes which a dataset can inherit from to implement additional functionality.
Classes
|
Basic pytorch dataset with defined return type. |
|
Video datasets. |
Grouped dataset sample indices and frame indices. |
- class Dataset(image_channel_mode='RGB', data_backend=None)[source]¶
Basic pytorch dataset with defined return type.
Initialize dataset.
- Parameters:
image_channel_mode (str) – Image channel mode to use. Default: RGB.
data_backend (None | DataBackend) – Data backend to use. Default: None.