from local

This commit is contained in:
dohe0342 2022-12-28 10:29:57 +09:00
parent fb3927585f
commit 4cc159564d
2 changed files with 8 additions and 8 deletions

View File

@ -503,29 +503,29 @@ class LibriSpeechAsrDataModule:
)
@lru_cache()
def dev_clean_cuts(self) -> CutSet:
def dev_clean_cuts_female(self) -> 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 / "librispeech_cuts_dev-clean_female.jsonl"
)
@lru_cache()
def dev_other_cuts(self) -> CutSet:
def dev_other_cuts_female(self) -> 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 / "librispeech_cuts_dev-other_female.jsonl"
)
@lru_cache()
def test_clean_cuts(self) -> CutSet:
def test_clean_cuts_female(self) -> 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 / "librispeech_cuts_test-clean_female.jsonl"
)
@lru_cache()
def test_other_cuts(self) -> CutSet:
def test_other_cuts_female(self) -> CutSet:
logging.info("About to get test-other cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_test-other_new.jsonl"
self.args.manifest_dir / "librispeech_cuts_test-other_female.jsonl"
)