from local

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

View File

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