From 66be659beb3e11993fe169fe1f5d88da699e4c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=BBelasko?= Date: Fri, 7 Jan 2022 13:27:31 -0500 Subject: [PATCH] Update feature config (compatible with Lhotse PR #525) --- egs/yesno/ASR/local/compute_fbank_yesno.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/yesno/ASR/local/compute_fbank_yesno.py b/egs/yesno/ASR/local/compute_fbank_yesno.py index dad7319fd..475eb3ee1 100755 --- a/egs/yesno/ASR/local/compute_fbank_yesno.py +++ b/egs/yesno/ASR/local/compute_fbank_yesno.py @@ -42,7 +42,7 @@ 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():