from local

This commit is contained in:
dohe0342 2023-03-15 02:21:11 +09:00
parent d12b99f3c5
commit 72398aee7c
2 changed files with 13 additions and 0 deletions

View File

@ -543,3 +543,16 @@ class LibriSpeechAsrDataModule:
return load_manifest_lazy(
self.args.manifest_dir / f"vox_cuts_{option}.jsonl.gz"
)
@lru_cache()
def userlibri_cuts(self, option=None) -> CutSet:
logging.info("About to get dev-clean cuts")
if option is None:
return load_manifest_lazy(
self.args.manifest_dir / f"librispeech_cuts_dev-clean.jsonl"
)
else:
return load_manifest_lazy(
self.args.manifest_dir / f"librispeech_cuts_dev-clean_{option}.jsonl"
)