LibriLightLimited¶
- class torchaudio.datasets.LibriLightLimited(root: Union[str, Path], subset: str = '10min', download: bool = False)[source]¶
Subset of Libri-light [Kahn et al., 2020] dataset, which was used in HuBERT [Hsu et al., 2021] for supervised fine-tuning.
- Parameters:
__getitem__¶
- LibriLightLimited.__getitem__(n: int) Tuple[Tensor, int, str, int, int, int] [source]¶
Load the n-th sample from the dataset.
- Parameters:
n (int) – The index of the sample to be loaded
- Returns:
Tuple of the following items;
- Tensor:
Waveform
- int:
Sample rate
- str:
Transcript
- int:
Speaker ID
- int:
Chapter ID
- int:
Utterance ID