Update feature config (compatible with Lhotse PR #525) (#172)

* Update feature config (compatible with Lhotse PR #525)

* black
This commit is contained in:
Piotr Żelasko 2022-01-09 22:39:28 -05:00 committed by GitHub
parent 6caff5fd38
commit 319e120869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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():