mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
ed9a79bc86
commit
69fd757782
Binary file not shown.
Binary file not shown.
@ -480,7 +480,7 @@ 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/*"))
|
||||
json_list = sorted(glob(self.args.manifest_dir + "/userlibri/test-clean/*"))
|
||||
spk_list = [json.split('/')[-1][:-6] for json in json_list]
|
||||
|
||||
return [load_manifest_lazy(json) for json in json_list], spk_list
|
||||
@ -497,7 +497,7 @@ class LibriSpeechAsrDataModule:
|
||||
self.args.manifest_dir / f"librispeech_cuts_test-other_{option}.jsonl"
|
||||
)
|
||||
elif option == 'user':
|
||||
json_list = sorted(glob(self.args.manifest_dir / "/userlibri/test-other/*"))
|
||||
json_list = sorted(glob(self.args.manifest_dir + "/userlibri/test-other/*"))
|
||||
spk_list = [json.split('/')[-1][:-6] for json in json_list]
|
||||
|
||||
return [load_manifest_lazy(json) for json in json_list], spk_list
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user