mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
3aea4a9af1
commit
8f17940b4f
Binary file not shown.
@ -395,6 +395,18 @@ class LibriSpeechAsrDataModule:
|
|||||||
num_workers=self.args.num_workers,
|
num_workers=self.args.num_workers,
|
||||||
)
|
)
|
||||||
return test_dl
|
return test_dl
|
||||||
|
|
||||||
|
@lru_cache()
|
||||||
|
def train_clean_10_cuts(self, option=None) -> CutSet:
|
||||||
|
logging.info("About to get train-clean-10 cuts")
|
||||||
|
if option is None:
|
||||||
|
return load_manifest_lazy(
|
||||||
|
self.args.manifest_dir / f"librispeech_cuts_train-clean-100.jsonl"
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
return load_manifest_lazy(
|
||||||
|
self.args.manifest_dir / f"librispeech_cuts_train-clean-10_{option}.jsonl"
|
||||||
|
)
|
||||||
|
|
||||||
@lru_cache()
|
@lru_cache()
|
||||||
def train_clean_100_cuts(self, option=None) -> CutSet:
|
def train_clean_100_cuts(self, option=None) -> CutSet:
|
||||||
@ -408,7 +420,6 @@ class LibriSpeechAsrDataModule:
|
|||||||
self.args.manifest_dir / f"librispeech_cuts_train-clean-100_{option}.jsonl"
|
self.args.manifest_dir / f"librispeech_cuts_train-clean-100_{option}.jsonl"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@lru_cache()
|
@lru_cache()
|
||||||
def train_clean_360_cuts(self, option=None) -> CutSet:
|
def train_clean_360_cuts(self, option=None) -> CutSet:
|
||||||
logging.info("About to get train-clean-360 cuts")
|
logging.info("About to get train-clean-360 cuts")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user