from local

This commit is contained in:
dohe0342 2023-01-03 12:59:24 +09:00
parent d5bda9557d
commit 02c2d12135
2 changed files with 9 additions and 3 deletions

View File

@ -462,9 +462,15 @@ class LibriSpeechAsrDataModule:
@lru_cache()
def dev_other_cuts(self, option=None) -> CutSet:
logging.info("About to get dev-other cuts")
return load_manifest_lazy(
self.args.manifest_dir / f"librispeech_cuts_dev-other_{option}.jsonl"
)
if option is None:
return load_manifest_lazy(
self.args.manifest_dir / f"librispeech_cuts_dev-other.jsonl"
)
else:
return load_manifest_lazy(
self.args.manifest_dir / f"librispeech_cuts_dev-other_{option}.jsonl"
)
@lru_cache()
def test_clean_cuts(self, option=None) -> CutSet: