LIBRISPEECH¶
- class torchaudio.datasets.LIBRISPEECH(root: Union[str, Path], url: str = 'train-clean-100', folder_in_archive: str = 'LibriSpeech', download: bool = False)[源代码]¶
LibriSpeech [Panayotov et al., 2015] 数据集。
- 参数
root (str 或 Path) – 数据集所在或下载到的目录路径。
url (str, optional) – 用于下载数据集的 URL,或要下载的数据集类型。允许的类型值包括
"dev-clean"
,"dev-other"
,"test-clean"
,"test-other"
,"train-clean-100"
,"train-clean-360"
和"train-other-500"
。 (默认:"train-clean-100"
)folder_in_archive (str, optional) – 数据集的顶层目录。 (默认:
"LibriSpeech"
)download (bool, 可选) – 如果在 root 路径下找不到数据集,则下载数据集。(默认:
False
)。