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

ValueError: zero-size array to reduction operation minimum which has no identity #39

Open
Cybernorse opened this issue May 26, 2022 · 3 comments

Comments

@Cybernorse
Copy link

I have been trying to extract glottal features from cough sounds but i am unable to do so, i get the error titled above, i want to know if there is any way possible to extract glottal features from cough sounds, Thank you

@mcvarer
Copy link

mcvarer commented Oct 24, 2022

up up up

@mcvarer
Copy link

mcvarer commented Oct 24, 2022

Have you fixed @Cybernorse

@Cybernorse
Copy link
Author

Hi there ! mcvarer, Lowering the sampling rate makes the code work, but it completely changes the sound itself, as far as i remember the debugging, it had problem extracting formant F0 from some of the sound signals, so when it tries to find the minimum value in the output array of F0 formant this error is thrown because the array is empty where it shouldn't be, i think the formant features model is based on something that only extracts speech vocalics, maybe source filter model, i did read somewhere that lowering the sampling rates does reveal vocal voices, so it makes sense that it starts working on some of them it was not working on before, i was actually able to extract other vocal based features like LPC from the cough sound so i had to ignore disvoice as our project progressed, that's all i have to say.

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