yesno_dataset: YesNo Dataset

yesno_datasetR Documentation

YesNo Dataset

Description

Create a Dataset for YesNo

Usage

yesno_dataset(
  root,
  url = "http://www.openslr.org/resources/1/waves_yesno.tar.gz",
  folder_in_archive = "waves_yesno",
  download = FALSE,
  transform = NULL,
  target_transform = NULL
)

Arguments

root

(str): Path to the directory where the dataset is found or downloaded.

url

(str, optional): The URL to download the dataset from. (default: "[http://www.openslr.org/resources/1/waves_yesno.tar.gz]()")

folder_in_archive

(str, optional): The top-level directory of the dataset. (default: "waves_yesno")

download

(bool, optional): Whether to download the dataset if it is not found at root path. (default: FALSE).

transform

(callable, optional): Optional transform applied on waveform. (default: NULL)

target_transform

(callable, optional): Optional transform applied on utterance. (default: NULL)

Value

tuple: (waveform, sample_rate, labels)


torchaudio documentation built on Feb. 16, 2023, 9:41 p.m.