from local

This commit is contained in:
dohe0342 2023-03-14 14:55:33 +09:00
parent 1634818c81
commit d7d56a74c3
2 changed files with 2 additions and 3 deletions

View File

@ -773,11 +773,11 @@ def main():
args.return_cuts = True args.return_cuts = True
librispeech = LibriSpeechAsrDataModule(args) librispeech = LibriSpeechAsrDataModule(args)
test_clean_cuts = librispeech.test_clean_cuts() #test_clean_cuts = librispeech.test_clean_cuts()
#test_clean_cuts = librispeech.test_clean_cuts(option='male') #test_clean_cuts = librispeech.test_clean_cuts(option='male')
#test_other_cuts = librispeech.test_other_cuts(option='male') #test_other_cuts = librispeech.test_other_cuts(option='male')
#test_clean_cuts = librispeech.vox_cuts(option=params.spk_id) test_clean_cuts = librispeech.vox_cuts(option=params.spk_id)
#test_clean_cuts = librispeech.test_clean_user(option=option) #test_clean_cuts = librispeech.test_clean_user(option=option)
#test_other_cuts = librispeech.test_other_user(option=option) #test_other_cuts = librispeech.test_other_user(option=option)
#test_clean_dl = librispeech.train_dataloaders(test_clean_cuts) #test_clean_dl = librispeech.train_dataloaders(test_clean_cuts)
@ -799,7 +799,6 @@ def main():
decoding_graph=decoding_graph, decoding_graph=decoding_graph,
) )
results = results_dict['greedy_search'] results = results_dict['greedy_search']
print(results)
#jsons = open(f"{params.manifest_dir}/userlibri/{test_set}/{option}.jsonl", 'r').readlines() #jsons = open(f"{params.manifest_dir}/userlibri/{test_set}/{option}.jsonl", 'r').readlines()
#new_jsons = open(f"{params.manifest_dir}/userlibri/{test_set}/{option}_p.jsonl", 'w') #new_jsons = open(f"{params.manifest_dir}/userlibri/{test_set}/{option}_p.jsonl", 'w')