utils.datasets.PropheseeDatasetBase#
- class PropheseeDatasetBase(gt_files: List[str], data_files: List[str], time_step: int, num_load_file: int, name: str)[source]#
Bases:
IterableDataset
Base class for Prophesee dataset iterators
Warning
This class can only be used as a base class for inheritance.
The samples_generator and parse_data method must be overridden in the child class.
- Parameters:
- Raises:
ValueError – Invalid dataset name.
Methods
Transforms events into a video stream
Creates a new sample generator