mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-07 16:14:17 +00:00
Update multi_dataset.py
This commit is contained in:
parent
54aff34088
commit
5047dd37ac
@ -111,47 +111,47 @@ class MultiDataset:
|
|||||||
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.fbank_dir / "librispeech_cuts_train-clean-100.jsonl.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
@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.fbank_dir / "librispeech_cuts_train-clean-360.jsonl.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
@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.fbank_dir / "librispeech_cuts_train-other-500.jsonl.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
@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.fbank_dir / "librispeech_cuts_dev-clean.jsonl.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
@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.fbank_dir / "librispeech_cuts_dev-other.jsonl.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
@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.fbank_dir / "librispeech_cuts_test-clean.jsonl.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
@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.fbank_dir / "librispeech_cuts_test-other.jsonl.gz"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user