from local

This commit is contained in:
dohe0342 2023-01-04 03:07:53 +09:00
parent adaabc7ed6
commit 0f88c1372d
3 changed files with 10 additions and 0 deletions

View File

@ -772,12 +772,22 @@ def main():
args.return_cuts = True
librispeech = LibriSpeechAsrDataModule(args)
'''
test_clean_cuts = librispeech.test_clean_cuts(option='male')
test_other_cuts = librispeech.test_other_cuts(option='male')
test_clean_dl = librispeech.test_dataloaders(test_clean_cuts)
test_other_dl = librispeech.test_dataloaders(test_other_cuts)
test_sets = ["test-clean", "test-other"]
test_dl = [test_clean_dl, test_other_dl]
'''
test_clean_cuts, test_clean_sets = librispeech.test_clean_cuts(option='user')
test_other_cuts, test_other_sets = librispeech.test_other_cuts(option='user')
test_clean_dl = [librispeech.test_dataloaders(user) for user in
test_other_dl = librispeech.test_dataloaders(test_other_cuts)
test_sets = ["test-clean", "test-other"]
test_dl = [test_clean_dl, test_other_dl]