Skip to content

Commit

Permalink
Update feature config (compatible with Lhotse PR facebookresearch#525) (
Browse files Browse the repository at this point in the history
facebookresearch#172)

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

* black
  • Loading branch information
pzelasko authored Jan 10, 2022
1 parent 6caff5f commit 319e120
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion egs/yesno/ASR/local/compute_fbank_yesno.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 319e120

Please sign in to comment.