from local
This commit is contained in:
parent
45a138618b
commit
5f807427df
Binary file not shown.
@ -493,9 +493,10 @@ class LibriSpeechAsrDataModule:
|
|||||||
@lru_cache()
|
@lru_cache()
|
||||||
def test_other_cuts(self, option=None) -> CutSet:
|
def test_other_cuts(self, option=None) -> CutSet:
|
||||||
logging.info("About to get test-other cuts")
|
logging.info("About to get test-other cuts")
|
||||||
return load_manifest_lazy(
|
if option is None:
|
||||||
self.args.manifest_dir / f"librispeech_cuts_test-other_{option}.jsonl"
|
return load_manifest_lazy(
|
||||||
)
|
self.args.manifest_dir / f"librispeech_cuts_test-other_{option}.jsonl"
|
||||||
|
)
|
||||||
elif option == 'user':
|
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]
|
spk_list = [json.split('/')[-1][:-6] for json in json_list]
|
||||||
|
|||||||
Reference in New Issue
Block a user