From fae9398482227e4086f65a627dea0c472641c756 Mon Sep 17 00:00:00 2001 From: JinZr <60612200+JinZr@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:58:26 +0800 Subject: [PATCH] fixes --- egs/multi_zh-hans/ASR/local/compute_fbank_thchs30.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 egs/multi_zh-hans/ASR/local/compute_fbank_thchs30.py diff --git a/egs/multi_zh-hans/ASR/local/compute_fbank_thchs30.py b/egs/multi_zh-hans/ASR/local/compute_fbank_thchs30.py old mode 100644 new mode 100755 index 202a794af..ceb297ed0 --- a/egs/multi_zh-hans/ASR/local/compute_fbank_thchs30.py +++ b/egs/multi_zh-hans/ASR/local/compute_fbank_thchs30.py @@ -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,