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

AttributeError: module 'scipy.signal' has no attribute 'blackman' #74

Open
khejd opened this issue Apr 12, 2024 · 1 comment
Open

AttributeError: module 'scipy.signal' has no attribute 'blackman' #74

khejd opened this issue Apr 12, 2024 · 1 comment

Comments

@khejd
Copy link

khejd commented Apr 12, 2024

I'm encountering an issue while using nara_wpe.utils.istft in my project. The error is triggered by the default parameter for window, which is set to scipy.signal.blackman. However, I discovered that scipy.signal does not have a blackman attribute. Instead, the correct way to access the blackman function is by using scipy.signal.windows.blackman.

Expected Behavior:
The blackman function should be accessible directly from scipy.signal.

Actual Behavior:
Encountered an AttributeError due to the absence of the blackman attribute in scipy.signal.

Workaround:
Use scipy.signal.windows.blackman instead of scipy.signal.blackman.

Environment:
nara_wpe version: >=0.0.7
scipy version: >= 1.6.0
Python version: 3.9

@boeddeker
Copy link
Member

That is caused by a recent scipy version, that had breaking changes. My colleague fixed that in paderbox, but we forgot to copied code in Nara wpe.

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