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
083337affa
commit
aa917115b7
Binary file not shown.
@ -430,9 +430,18 @@ class LibriSpeechAsrDataModule:
|
||||
@lru_cache()
|
||||
def train_other_500_cuts(self, option=None) -> CutSet:
|
||||
logging.info("About to get train-other-500 cuts")
|
||||
if option is None:
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / "librispeech_cuts_train-other-500_new.jsonl"
|
||||
)
|
||||
elif option == 'male':
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / "librispeech_cuts_train-other-500_male.jsonl"
|
||||
)
|
||||
elif option == 'female':
|
||||
return load_manifest_lazy(
|
||||
self.args.manifest_dir / "librispeech_cuts_train-other-500_female.jsonl"
|
||||
)
|
||||
|
||||
@lru_cache()
|
||||
def train_all_shuf_cuts(self) -> CutSet:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user