This commit is contained in:
Piotr Żelasko 2022-01-07 13:30:57 -05:00
parent 66be659beb
commit b9c65d41e0

View File

@ -42,7 +42,9 @@ def compute_fbank_yesno():
)
assert manifests is not None
extractor = Fbank(FbankConfig(sampling_rate=8000, 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():