Created
March 23, 2021 21:05
-
-
Save zilunpeng/e3e5d227abaaee0997bfd86b77da6f5b to your computer and use it in GitHub Desktop.
Create data loader. Code below is part of the wav2vec 2.0 inference notebook (https://git.io/JYeKX).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dev_clean_librispeech_data = torchaudio.datasets.LIBRISPEECH(data_path, url='dev-clean', download=False) | |
data_loader = torch.utils.data.DataLoader(dev_clean_librispeech_data, batch_size=1, shuffle=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment