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

Functions hanging on OS X #57

Open
96imranahmed opened this issue Mar 8, 2018 · 6 comments
Open

Functions hanging on OS X #57

96imranahmed opened this issue Mar 8, 2018 · 6 comments

Comments

@96imranahmed
Copy link

Hey all,

Thanks for the awesome python module 👍 I was just wondering, have any of you run into an issue where the mfcc function hangs (and presumably other functions such as fbank) hang on OSX? I was running some multi-processed code and these functions confusingly never completed on my Mac. However, when I ran the equivalent function in Ubuntu 16.04 on the same data, the functions returned as expected.

Have any of you run into this before? I'm not sure what would could cause this - especially seeing that the source code seems to primarily call numpy operations. I'll investigate this further and hopefully post more details here. Unfortunately the code I was running was heavily multi-processed, so it might take a bit of refactoring to allow me to properly debug things. I just wanted to post on here and see if anybody else had run into a similar issue? 😃

@jameslyons
Copy link
Owner

I've never heard of this happening, it is fairly simple numpy code after all. If i had to guess, i suspect it might be the rolling_window function in sigproc.py, the docs say as_strided is a bit risky. Try setting the flag in framesig to false so that strided is not used (youll have to edit the code) and see if it still happens

@96imranahmed
Copy link
Author

Interesting - exactly, that is what I thought! Right, thank you for pointing that out me - that'll help with my debugging efforts! I haven't looked back it as yet (it keeps hanging so I switched to ubuntu) but when I do, I'll let you know!

@kiwiloveskiwis
Copy link

Same issue here. the mfcc never returns... Any update?

@morenoh149
Copy link

@96imranahmed
Copy link
Author

Sorry for the delay in getting back to you - I just ran the test and oddly enough it works fine for me (all tests returned with no errors). Is the function hanging due to an edge-case then?

@morenoh149
Copy link

If you can think of a more comprehensive test lets get it into the tests

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

4 participants