from local

This commit is contained in:
dohe0342 2022-12-27 12:48:43 +09:00
parent 78007e5206
commit 1de1273a92
2 changed files with 7 additions and 7 deletions

View File

@ -399,21 +399,21 @@ class LibriSpeechAsrDataModule:
def train_clean_100_cuts(self) -> CutSet:
logging.info("About to get train-clean-100 cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_train-clean-100.jsonl.gz"
self.args.manifest_dir / "librispeech_cuts_train-clean-100.jsonl"
)
@lru_cache()
def train_clean_360_cuts(self) -> CutSet:
logging.info("About to get train-clean-360 cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_train-clean-360.jsonl.gz"
self.args.manifest_dir / "librispeech_cuts_train-clean-360.jsonl"
)
@lru_cache()
def train_other_500_cuts(self) -> CutSet:
logging.info("About to get train-other-500 cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_train-other-500.jsonl.gz"
self.args.manifest_dir / "librispeech_cuts_train-other-500.jsonl"
)
@lru_cache()
@ -430,26 +430,26 @@ class LibriSpeechAsrDataModule:
def dev_clean_cuts(self) -> CutSet:
logging.info("About to get dev-clean cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_dev-clean.jsonl.gz"
self.args.manifest_dir / "librispeech_cuts_dev-clean.jsonl"
)
@lru_cache()
def dev_other_cuts(self) -> CutSet:
logging.info("About to get dev-other cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_dev-other.jsonl.gz"
self.args.manifest_dir / "librispeech_cuts_dev-other.jsonl"
)
@lru_cache()
def test_clean_cuts(self) -> CutSet:
logging.info("About to get test-clean cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_test-clean.jsonl.gz"
self.args.manifest_dir / "librispeech_cuts_test-clean.jsonl"
)
@lru_cache()
def test_other_cuts(self) -> CutSet:
logging.info("About to get test-other cuts")
return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_test-other.jsonl.gz"
self.args.manifest_dir / "librispeech_cuts_test-other.jsonl"
)