qualia_plugin_snn.dataset.DVSGestureWithPreprocessing module

DVS128-Gesture event-based dataset import module based on SpikingJelly including preprocessing to frames and timesteps.

class qualia_plugin_snn.dataset.DVSGestureWithPreprocessing.DVSGestureWithPreprocessing[source]

Bases: RawDataset

DVS128 Gesture event-based data loading based on SpikingJelly including preprocessing to frames and timesteps.

__init__(path: str = '', data_type: str = 'frame', duration: int = 0, timesteps: int = 0) None[source]

Instantiate the DVS128 Gesture dataset loader with preprocessing.

Parameters:
  • path (str) – Dataset source path

  • data_type (str) – Only 'frame' is supported

  • duration (int) – Frame integration duration

  • timesteps (int) – Number of timesteps to groupe frames by

Return type:

None

__call__() RawDataModel[source]

Load DVS128 Gesture data as frames over timesteps.

Returns:

Data model structure with train and test sets containing frames with timesteps and labels

Return type:

RawDataModel

property name: str