from local

This commit is contained in:
dohe0342 2023-01-03 13:05:05 +09:00
parent 1f9628a39a
commit 5e1ac12bcc
2 changed files with 1 additions and 0 deletions

View File

@ -481,6 +481,7 @@ class LibriSpeechAsrDataModule:
) )
elif option == 'user': elif option == 'user':
json_list = sorted(glob(self.args.manifest_dir / "/userlibri/test-clean/*")) json_list = sorted(glob(self.args.manifest_dir / "/userlibri/test-clean/*"))
spk_list = [json.split('/')[-1][:-6]
return [load_manifest_lazy(json) for json in json_list], return [load_manifest_lazy(json) for json in json_list],