:py:mod:`tonic.datasets.dvsgesture`
===================================

.. py:module:: tonic.datasets.dvsgesture


Module Contents
---------------

Classes
~~~~~~~

.. autoapisummary::

   tonic.datasets.dvsgesture.DVSGesture




.. py:class:: DVSGesture(save_to: str, train: bool = True, transform: collections.abc.Callable | None = None, target_transform: collections.abc.Callable | None = None, transforms: collections.abc.Callable | None = None)


   Bases: :py:obj:`tonic.dataset.Dataset`

   `IBM DVS Gestures <http://research.ibm.com/dvsgesture/>`_

   .. note::  This is (exceptionally) a preprocessed version of the original dataset,
              where recordings that originally contained multiple labels have already
              been cut into respective samples. Also temporal precision is reduced to ms.

   ::

       @inproceedings{amir2017low,
         title={A low power, fully event-based gesture recognition system},
         author={Amir, Arnon and Taba, Brian and Berg, David and Melano, Timothy and McKinstry, Jeffrey and Di Nolfo, Carmelo and Nayak, Tapan and Andreopoulos, Alexander and Garreau, Guillaume and Mendoza, Marcela and others},
         booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
         pages={7243--7252},
         year={2017}
       }

   :param save_to: Location to save files to on disk.
   :type save_to: string
   :param train: If True, uses training subset, otherwise testing subset.
   :type train: bool
   :param transform: A callable of transforms to apply to the data.
   :type transform: callable, optional
   :param target_transform: A callable of transforms to apply to the targets/labels.
   :type target_transform: callable, optional
   :param transforms: A callable of transforms that is applied to both data and
                      labels at the same time.
   :type transforms: callable, optional

   .. py:attribute:: test_url
      :value: 'https://figshare.com/ndownloader/files/38020584'

      

   .. py:attribute:: train_url
      :value: 'https://figshare.com/ndownloader/files/38022171'

      

   .. py:attribute:: test_md5
      :value: '56070e45dadaa85fff82e0fbfbc06de5'

      

   .. py:attribute:: train_md5
      :value: '3a8f0d4120a166bac7591f77409cb105'

      

   .. py:attribute:: test_filename
      :value: 'ibmGestureTest.tar.gz'

      

   .. py:attribute:: train_filename
      :value: 'ibmGestureTrain.tar.gz'

      

   .. py:attribute:: classes
      :value: ['Hand clapping', 'Right hand wave', 'Left hand wave', 'Right arm cw', 'Right arm ccw', 'Left...

      

   .. py:attribute:: sensor_size
      :value: (128, 128, 2)

      

   .. py:attribute:: dtype

      

   .. py:attribute:: ordering

      

   .. py:method:: __getitem__(index)

      :returns: a tuple of (events, target) where target is the index of the target class.


   .. py:method:: __len__()



