LIBRITTS¶
- class torchaudio.datasets.LIBRITTS(root: Union[str, Path], url: str = 'train-clean-100', folder_in_archive: str = 'LibriTTS', download: bool = False)[原始碼]¶
LibriTTS [Zen et al., 2019] 資料集。
- 參數:
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) – 資料集的頂層目錄。(預設值:
"LibriTTS"
)download (bool, optional) – 如果在根路徑中找不到資料集,是否下載資料集。(預設值:
False
)。