yesno_dataset {torchaudio} | R 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: |
folder_in_archive |
(str, optional): The top-level directory of the dataset. (default: |
download |
(bool, optional): Whether to download the dataset if it is not found at root path. (default: |
transform |
(callable, optional): Optional transform applied on waveform. (default: |
target_transform |
(callable, optional): Optional transform applied on utterance. (default: |
Value
tuple: (waveform, sample_rate, labels)
[Package torchaudio version 0.3.1 Index]