spikingjelly.datasets.asl_dvs module#

class spikingjelly.datasets.asl_dvs.ASLDVS(root: str, data_type: str = 'event', frames_number: int = None, split_by: str = None, duration: int = None, custom_integrate_function: Callable = None, custom_integrated_frames_dir_name: str = None, transform: Callable | None = None, target_transform: Callable | None = None)[源代码]#

基类:NeuromorphicDatasetFolder

API Language: 中文 | English


  • 中文

ASL-DVS 数据集,由 Graph-based Object Classification for Neuromorphic Vision Sensing 提出。

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

备注

ASLDVS 的 Dropbox 链接已过期。用户可以通过以下命令从 OpenI 镜像手动下载此数据集:

pip install openi
openi dataset download OpenI/ASLDVS --local_dir ./ASLDVS --max_workers 10

然后您可以解压 ASLDVS.zip 并获取 ICCV2019_DVS_dataset.zip


  • English

The ASL-DVS dataset, which is proposed by Graph-based Object Classification for Neuromorphic Vision Sensing.

Refer to NeuromorphicDatasetFolder for more details about params information.

备注

ASLDVS's Dropbox link is expired. Users can download this dataset from the OpenI mirror manually by the following commands:

pip install openi
openi dataset download OpenI/ASLDVS --local_dir ./ASLDVS --max_workers 10

Then you can extract ASLDVS.zip and get ICCV2019_DVS_dataset.zip .

参数:
  • 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

返回:

None

返回类型:

None

classmethod get_H_W() Tuple[源代码]#

API Language: 中文 | English


  • 中文

返回:

(180, 240)

返回类型:

Tuple


  • English

返回:

(180, 240)

返回类型:

Tuple

classmethod resource_url_md5() list[源代码]#
classmethod downloadable() bool[源代码]#
返回:

False

返回类型:

bool

classmethod extract_downloaded_files(download_root: Path, extract_root: Path)[源代码]#
classmethod create_raw_from_extracted(extract_root: Path, raw_root: Path)[源代码]#