from local

This commit is contained in:
dohe0342 2022-12-28 10:39:38 +09:00
parent a455cc6ddc
commit b231b2249d
2 changed files with 6 additions and 6 deletions

View File

@ -430,25 +430,25 @@ class LibriSpeechAsrDataModule:
def dev_clean_cuts(self, option='new') -> CutSet:
logging.info("About to get dev-clean cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_dev-clean_new.jsonl"
self.args.manifest_dir / f"librispeech_cuts_dev-clean_{option}.jsonl"
)
@lru_cache()
def dev_other_cuts(self) -> CutSet:
def dev_other_cuts(self, option='new') -> CutSet:
logging.info("About to get dev-other cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_dev-other_new.jsonl"
self.args.manifest_dir / f"librispeech_cuts_dev-other_{option}.jsonl"
)
@lru_cache()
def test_clean_cuts(self) -> CutSet:
def test_clean_cuts(self, option='new') -> CutSet:
logging.info("About to get test-clean cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_test-clean_new.jsonl"
self.args.manifest_dir / f"librispeech_cuts_test-clean_{option}.jsonl"
)
@lru_cache()
def test_other_cuts(self) -> CutSet:
def test_other_cuts(self, option='new') -> CutSet:
logging.info("About to get test-other cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_test-other_new.jsonl"