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
f6d4ea4932
commit
a96c59053e
Binary file not shown.
@ -29,7 +29,7 @@ def prepare_tedlium(
|
|||||||
tedlium_root = Path(tedlium_root)
|
tedlium_root = Path(tedlium_root)
|
||||||
output_dir = Path(output_dir) if output_dir is not None else None
|
output_dir = Path(output_dir) if output_dir is not None else None
|
||||||
corpus = {}
|
corpus = {}
|
||||||
for split in ("train", "dev", "test"):
|
for split in ("test"):
|
||||||
root = tedlium_root / "legacy" / split
|
root = tedlium_root / "legacy" / split
|
||||||
recordings = RecordingSet.from_recordings(
|
recordings = RecordingSet.from_recordings(
|
||||||
Recording.from_file(p) for p in (root / "sph").glob("*.sph")
|
Recording.from_file(p) for p in (root / "sph").glob("*.sph")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user