LIBRISPEECH¶
- class torchaudio.datasets.LIBRISPEECH(root: Union[str, Path], url: str = 'train-clean-100', folder_in_archive: str = 'LibriSpeech', download: bool = False)[source]¶
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, 可選) – 如果在 root 路徑找不到資料集,是否下載資料集。(預設值:
False
)。