from local

This commit is contained in:
dohe0342 2023-02-16 17:49:08 +09:00
parent 0be21ac19b
commit 43c7fe3745
2 changed files with 8 additions and 8 deletions

View File

@ -397,21 +397,21 @@ class LibriSpeechAsrDataModule:
def train_clean_100_cuts(self) -> CutSet: def train_clean_100_cuts(self) -> CutSet:
logging.info("About to get train-clean-100 cuts") logging.info("About to get train-clean-100 cuts")
return load_manifest_lazy( 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() @lru_cache()
def train_clean_360_cuts(self) -> CutSet: def train_clean_360_cuts(self) -> CutSet:
logging.info("About to get train-clean-360 cuts") logging.info("About to get train-clean-360 cuts")
return load_manifest_lazy( 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() @lru_cache()
def train_other_500_cuts(self) -> CutSet: def train_other_500_cuts(self) -> CutSet:
logging.info("About to get train-other-500 cuts") logging.info("About to get train-other-500 cuts")
return load_manifest_lazy( 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() @lru_cache()
@ -421,33 +421,33 @@ class LibriSpeechAsrDataModule:
train-clean-360 and train-other-500 cuts" train-clean-360 and train-other-500 cuts"
) )
return load_manifest_lazy( return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_train-all-shuf.jsonl.gz" self.args.manifest_dir / "librispeech_cuts_train-all-shuf.jsonl"
) )
@lru_cache() @lru_cache()
def dev_clean_cuts(self) -> CutSet: def dev_clean_cuts(self) -> CutSet:
logging.info("About to get dev-clean cuts") logging.info("About to get dev-clean cuts")
return load_manifest_lazy( 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() @lru_cache()
def dev_other_cuts(self) -> CutSet: def dev_other_cuts(self) -> CutSet:
logging.info("About to get dev-other cuts") logging.info("About to get dev-other cuts")
return load_manifest_lazy( 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() @lru_cache()
def test_clean_cuts(self) -> CutSet: def test_clean_cuts(self) -> CutSet:
logging.info("About to get test-clean cuts") logging.info("About to get test-clean cuts")
return load_manifest_lazy( 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() @lru_cache()
def test_other_cuts(self) -> CutSet: def test_other_cuts(self) -> CutSet:
logging.info("About to get test-other cuts") logging.info("About to get test-other cuts")
return load_manifest_lazy( return load_manifest_lazy(
self.args.manifest_dir / "librispeech_cuts_test-other.jsonl.gz" self.args.manifest_dir / "librispeech_cuts_test-other.jsonl"
) )