mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-11 18:14:19 +00:00
fixes
This commit is contained in:
parent
cca712108a
commit
fae9398482
4
egs/multi_zh-hans/ASR/local/compute_fbank_thchs30.py
Normal file → Executable file
4
egs/multi_zh-hans/ASR/local/compute_fbank_thchs30.py
Normal file → Executable file
@ -44,7 +44,7 @@ torch.set_num_interop_threads(1)
|
||||
|
||||
|
||||
def compute_fbank_thchs30(num_mel_bins: int = 80):
|
||||
src_dir = Path("data/manifests")
|
||||
src_dir = Path("data/manifests/thchs30")
|
||||
output_dir = Path("data/fbank")
|
||||
num_jobs = min(15, os.cpu_count())
|
||||
|
||||
@ -53,7 +53,7 @@ def compute_fbank_thchs30(num_mel_bins: int = 80):
|
||||
"dev",
|
||||
"test",
|
||||
)
|
||||
prefix = "thchs30"
|
||||
prefix = "thchs_30"
|
||||
suffix = "jsonl.gz"
|
||||
manifests = read_manifests_if_cached(
|
||||
dataset_parts=dataset_parts,
|
||||
|
Loading…
x
Reference in New Issue
Block a user