mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-09 17:14:20 +00:00
Update egs/multi_zh-hans/ASR/local/compute_fbank_stcmds.py
Co-authored-by: Fangjun Kuang <csukuangfj@gmail.com>
This commit is contained in:
parent
677842361f
commit
d577b89400
@ -43,7 +43,7 @@ torch.set_num_threads(1)
|
|||||||
torch.set_num_interop_threads(1)
|
torch.set_num_interop_threads(1)
|
||||||
|
|
||||||
|
|
||||||
def compute_fbank_thchs30(num_mel_bins: int = 80, speed_perturb: bool = False):
|
def compute_fbank_stcmds(num_mel_bins: int = 80, speed_perturb: bool = False):
|
||||||
src_dir = Path("data/manifests/stcmds")
|
src_dir = Path("data/manifests/stcmds")
|
||||||
output_dir = Path("data/fbank")
|
output_dir = Path("data/fbank")
|
||||||
num_jobs = min(15, os.cpu_count())
|
num_jobs = min(15, os.cpu_count())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user