from local

This commit is contained in:
dohe0342 2023-02-26 03:18:45 +09:00
parent f3b71592b5
commit ea0e0d39e9
2 changed files with 5 additions and 5 deletions

View File

@ -428,33 +428,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"
) )