spikingjelly.datasets.nav_gesture module#

警告

The dataset cannot be downloaded now. Refer to fangwei123456/spikingjelly#423 for more details.

class spikingjelly.datasets.nav_gesture.NAVGestureWalk(root, data_type='event', frames_number=None, split_by=None, duration=None, custom_integrate_function=None, custom_integrated_frames_dir_name=None, transform=None, target_transform=None)[源代码]#

基类:NeuromorphicDatasetFolder

API Language - 中文 | English


Nav Gesture 数据集,由 Event-Based Gesture Recognition With Dynamic Background Suppression Using Smartphone Computational Capabilities 提出。

有关参数的更多详细信息,请参考 NeuromorphicDatasetFolder


The Nav Gesture dataset, which is proposed by Event-Based Gesture Recognition With Dynamic Background Suppression Using Smartphone Computational Capabilities.

Refer to NeuromorphicDatasetFolder

参数:
  • root (Union[str, Path]) -- 数据集的根路径

  • data_type (str) -- "event""frame"

  • frames_number (Optional[int]) -- 积分帧的数量

  • split_by (Optional[str]) -- "time""number"

  • duration (Optional[int]) -- 每帧的时间时长

  • custom_integrate_function (Optional[Callable]) -- 用户自定义积分函数

  • custom_integrated_frames_dir_name (Optional[str]) -- 自定义积分帧目录名

  • transform (Optional[Callable]) -- 数据变换

  • target_transform (Optional[Callable]) -- 标签变换

  • root -- Root directory of the dataset

  • data_type -- "event" or "frame"

  • frames_number -- Number of frames to integrate

  • split_by -- "time" or "number"

  • duration -- Time duration per frame

  • custom_integrate_function -- User-defined integrate function

  • custom_integrated_frames_dir_name -- Custom frames directory name

  • transform -- Transform function

  • target_transform -- Target transform function

classmethod get_H_W()[源代码]#

API Language - 中文 | English


返回:

(240, 304)

返回类型:

Tuple

备注

相机的分辨率为240×320,但 x.max() = 303,因此设置 W=304


返回:

(240, 304)

返回类型:

Tuple

备注

The camera resolution is 240×320, but x.max() = 303. So we set W=304.

classmethod resource_url_md5()[源代码]#
返回类型:

list

classmethod downloadable()[源代码]#
返回类型:

bool

classmethod extract_downloaded_files(download_root, extract_root)[源代码]#
参数:
  • download_root (Path)

  • extract_root (Path)

classmethod create_raw_from_extracted(extract_root, raw_root)[源代码]#
参数:
class spikingjelly.datasets.nav_gesture.NAVGestureSit(root, data_type='event', frames_number=None, split_by=None, duration=None, custom_integrate_function=None, custom_integrated_frames_dir_name=None, transform=None, target_transform=None)[源代码]#

基类:NAVGestureWalk

API Language - 中文 | English


Nav Gesture 数据集,由 Event-Based Gesture Recognition With Dynamic Background Suppression Using Smartphone Computational Capabilities 提出。

有关参数的更多详细信息,请参考 NeuromorphicDatasetFolder


The Nav Gesture dataset, which is proposed by Event-Based Gesture Recognition With Dynamic Background Suppression Using Smartphone Computational Capabilities.

Refer to NeuromorphicDatasetFolder

参数:
  • root (Union[str, Path]) -- 数据集的根路径

  • data_type (str) -- "event""frame"

  • frames_number (Optional[int]) -- 积分帧的数量

  • split_by (Optional[str]) -- "time""number"

  • duration (Optional[int]) -- 每帧的时间时长

  • custom_integrate_function (Optional[Callable]) -- 用户自定义积分函数

  • custom_integrated_frames_dir_name (Optional[str]) -- 自定义积分帧目录名

  • transform (Optional[Callable]) -- 数据变换

  • target_transform (Optional[Callable]) -- 标签变换

  • root -- Root directory of the dataset

  • data_type -- "event" or "frame"

  • frames_number -- Number of frames to integrate

  • split_by -- "time" or "number"

  • duration -- Time duration per frame

  • custom_integrate_function -- User-defined integrate function

  • custom_integrated_frames_dir_name -- Custom frames directory name

  • transform -- Transform function

  • target_transform -- Target transform function

classmethod resource_url_md5()[源代码]#
返回类型:

list

classmethod extract_downloaded_files(download_root, extract_root)[源代码]#
参数:
  • download_root (Path)

  • extract_root (Path)