fix librispeech.py in multi-dataset setup (#791)

This commit is contained in:
Fangjun Kuang 2022-12-27 13:59:55 +08:00 committed by GitHub
parent dfbcf606e7
commit 88b7895adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
)