From 319e1208696edb3c0a3fa41df5582c27fda8c61c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=BBelasko?= Date: Sun, 9 Jan 2022 22:39:28 -0500 Subject: [PATCH] Update feature config (compatible with Lhotse PR #525) (#172) * Update feature config (compatible with Lhotse PR #525) * black --- egs/yesno/ASR/local/compute_fbank_yesno.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/egs/yesno/ASR/local/compute_fbank_yesno.py b/egs/yesno/ASR/local/compute_fbank_yesno.py index dad7319fd..6072d4222 100755 --- a/egs/yesno/ASR/local/compute_fbank_yesno.py +++ b/egs/yesno/ASR/local/compute_fbank_yesno.py @@ -42,7 +42,9 @@ def compute_fbank_yesno(): ) assert manifests is not None - extractor = Fbank(FbankConfig(num_mel_bins=num_mel_bins)) + extractor = Fbank( + FbankConfig(sampling_rate=8000, num_mel_bins=num_mel_bins) + ) with get_executor() as ex: # Initialize the executor only once. for partition, m in manifests.items():