mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
fix librispeech.py in multi-dataset setup (#791)
This commit is contained in:
parent
dfbcf606e7
commit
88b7895adf
@ -72,3 +72,12 @@ class LibriSpeech:
|
|||||||
f = self.manifest_dir / "librispeech_cuts_dev-other.jsonl.gz"
|
f = self.manifest_dir / "librispeech_cuts_dev-other.jsonl.gz"
|
||||||
logging.info(f"About to get dev-other cuts from {f}")
|
logging.info(f"About to get dev-other cuts from {f}")
|
||||||
return load_manifest_lazy(f)
|
return load_manifest_lazy(f)
|
||||||
|
|
||||||
|
def train_all_shuf_cuts(self) -> CutSet:
|
||||||
|
logging.info(
|
||||||
|
"About to get the shuffled train-clean-100, \
|
||||||
|
train-clean-360 and train-other-500 cuts"
|
||||||
|
)
|
||||||
|
return load_manifest_lazy(
|
||||||
|
self.manifest_dir / "librispeech_cuts_train-all-shuf.jsonl.gz"
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user