from local

This commit is contained in:
dohe0342 2023-03-15 02:21:44 +09:00
parent 77968c08f2
commit 2b1c5bee48
2 changed files with 3 additions and 8 deletions

View File

@ -547,12 +547,7 @@ class LibriSpeechAsrDataModule:
@lru_cache()
def userlibri_cuts(self, option=None) -> CutSet:
logging.info("About to get userlibri 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"
)
return load_manifest_lazy(
self.args.manifest_dir / f"{option}.jsonl"
)