Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"math domain error" #2

Open
doublex opened this issue Oct 2, 2020 · 1 comment
Open

"math domain error" #2

doublex opened this issue Oct 2, 2020 · 1 comment

Comments

@doublex
Copy link

doublex commented Oct 2, 2020

Testcase: err.wav.gz

Command line:

python3 detect_voice.py -s /tmp/err.wav -d /dev/stdout -c config/config_for_adapt_vad.json

stderr:

Traceback (most recent call last):
  File "detect_voice.py", line 33, in <module>
    bounds_of_speech = list(detect_spoken_frames(sound, fs, method_params))
  File "/tmp/vad/vad.py", line 201, in detect_spoken_frames
    energy_th = params['Energy_PrimThresh'] * math.log(min_energy)
ValueError: math domain error
@acidcoma
Copy link

Hello! I am also facing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants