from local

This commit is contained in:
dohe0342 2023-01-03 13:03:52 +09:00
parent a965341695
commit 5da38df647
2 changed files with 2 additions and 3 deletions

View File

@ -480,10 +480,9 @@ class LibriSpeechAsrDataModule:
self.args.manifest_dir / f"librispeech_cuts_test-clean.jsonl"
)
elif option == 'user':
json_list = sorted(glob(self.args.manifest_dir / "/userlibri/test-clean/*"))
return [load_manifest_lazy(
self.args.manifest_dir / f"/userlibri/test-clean/"
)
return [load_manifest_lazy(spkeaker) for speaker in json_list],
@lru_cache()