qualia_plugin_snn.dataset.DVSGesture module

DVS128-Gesture event-based dataset import module based on SpikingJelly.

class qualia_plugin_snn.dataset.DVSGesture.DVSGesture[source]

Bases: EventDataset

DVS128 Gesture event-based data loading based on SpikingJelly.

h: int = 128
w: int = 128
__init__(path: str = '', data_type: str = 'frame') None[source]

Instantiate the DVS128 Gesture dataset loader.

Parameters:
  • path (str) – Dataset source path

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

Return type:

None

__call__() EventDataModel[source]

Load DVS128 Gesture data as events.

Returns:

Data model structure with train and test sets containing events and labels

Return type:

EventDataModel

property name: str
sets: list[str]