mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
* Update feature config (compatible with Lhotse PR #525) * black
This commit is contained in:
parent
6caff5fd38
commit
319e120869
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user