qualia_plugin_snn.dataset package

Submodules

Module contents

Qualia-Plugin-SNN dataset package contains event-based or spiking datasets.

class qualia_plugin_snn.dataset.SHD[source]

Bases: EventDataset

DVS128 Gesture event-based data loading based on SpikingJelly.

__call__() EventDataModel[source]

Load Spiking Heidelberge Digits data as events.

Returns:

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

Return type:

EventDataModel

__init__(path: str = '') None[source]

Instantiate the Spiking Heidelberg Digits dataset loader.

Parameters:

path (str) – Dataset source path

Return type:

None

h: int = 1
w: int = 700
class qualia_plugin_snn.dataset.DVSGesture[source]

Bases: EventDataset

DVS128 Gesture event-based data loading based on SpikingJelly.

__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

__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

h: int = 128
property name: str
w: int = 128