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
90c1c96bf2
commit
cd8facc9f2
Binary file not shown.
@ -398,7 +398,7 @@ class LibriSpeechAsrDataModule:
|
||||
@lru_cache()
|
||||
def train_clean_100_cuts(self, option=None) -> CutSet:
|
||||
logging.info("About to get train-clean-100 cuts")
|
||||
if option is None
|
||||
if option is None:
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / f"librispeech_cuts_train-clean-100.jsonl"
|
||||
)
|
||||
@ -411,16 +411,27 @@ class LibriSpeechAsrDataModule:
|
||||
@lru_cache()
|
||||
def train_clean_360_cuts(self, option=None) -> CutSet:
|
||||
logging.info("About to get train-clean-360 cuts")
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / f"librispeech_cuts_train-clean-360_{option}.jsonl"
|
||||
)
|
||||
if option is None:
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / f"librispeech_cuts_train-clean-360.jsonl"
|
||||
)
|
||||
else:
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / f"librispeech_cuts_train-clean-360_{option}.jsonl"
|
||||
)
|
||||
|
||||
@lru_cache()
|
||||
def train_other_500_cuts(self, option=None) -> CutSet:
|
||||
logging.info("About to get train-other-500 cuts")
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / f"librispeech_cuts_train-other-500_{option}.jsonl"
|
||||
)
|
||||
if option is None:
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / f"librispeech_cuts_train-other-500.jsonl"
|
||||
)
|
||||
else:
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / f"librispeech_cuts_train-other-500_{option}.jsonl"
|
||||
)
|
||||
|
||||
|
||||
@lru_cache()
|
||||
def train_all_shuf_cuts(self, option=None) -> CutSet:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user