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, 可选) – 用于下载数据集的 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, 可选) – 数据集的顶级目录。(默认:
"LibriSpeech"
)download (bool, 可选) – 如果在根路径未找到数据集,是否下载。(默认:
False
)。