From 4ab5ab92b49860d5c0a38387806ce6358e5543bf Mon Sep 17 00:00:00 2001 From: zr_jin Date: Sat, 2 Sep 2023 17:00:17 +0800 Subject: [PATCH] Update egs/multi_zh-hans/ASR/local/compute_fbank_primewords.py Co-authored-by: Fangjun Kuang --- egs/multi_zh-hans/ASR/local/compute_fbank_primewords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/multi_zh-hans/ASR/local/compute_fbank_primewords.py b/egs/multi_zh-hans/ASR/local/compute_fbank_primewords.py index 3733b6af4..32dd1d81a 100755 --- a/egs/multi_zh-hans/ASR/local/compute_fbank_primewords.py +++ b/egs/multi_zh-hans/ASR/local/compute_fbank_primewords.py @@ -43,7 +43,7 @@ torch.set_num_threads(1) torch.set_num_interop_threads(1) -def compute_fbank_thchs30(num_mel_bins: int = 80, speed_perturb: bool = False): +def compute_fbank_primewords(num_mel_bins: int = 80, speed_perturb: bool = False): src_dir = Path("data/manifests/primewords") output_dir = Path("data/fbank") num_jobs = min(15, os.cpu_count())