Ant-Brain / EfficientWord-Net

OneShot Learning-based hotword detection.
https://ant-brain.github.io/EfficientWord-Net/
Apache License 2.0
215 stars 34 forks source link

fixed pyaudio IOError #31

Closed zerocool-11 closed 1 year ago

zerocool-11 commented 1 year ago

fixed pyaudio input overflowed error OSError: [Errno -9981] Input overflowed

exception_on_overflow = False does not stop the IOError, but it will allow the code to ignore it. This should allow the program to continue working, saving data to mfcc_feat, even if your model takes too long.

TheSeriousProgrammer commented 1 year ago

@zerocool-11 Thanks for you contribution back to the community!!