LIBRITTS¶
- class torchaudio.datasets.LIBRITTS(root: Union[str, Path], url: str = 'train-clean-100', folder_in_archive: str = 'LibriTTS', download: bool = False)[source]¶
LibriTTS [Zen et al., 2019] 数据集。
- 参数:
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, 可选) – 数据集的顶层目录。(默认值:
"LibriTTS"
)download (bool, 可选) – 如果在根路径未找到数据集,是否下载。(默认值:
False
)。