-
-
Notifications
You must be signed in to change notification settings - Fork 349
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I encountered the following error:
File "/data/group1/z44476r/Experiments/ppg-vc/tools/venv/lib/python3.10/site-packages/parallel_wavegan/layers/__init__.py", line 2, in <module>
from .pqmf import * # NOQA
File "/data/group1/z44476r/Experiments/ppg-vc/tools/venv/lib/python3.10/site-packages/parallel_wavegan/layers/pqmf.py", line 11, in <module>
from scipy.signal import kaiser
ImportError: cannot import name 'kaiser' from 'scipy.signal' (/data/group1/z44476r/Experiments/ppg-vc/tools/venv/lib/python3.10/site-packages/scipy/signal/__init__.py)
The problem comes from this line:
https://github.com/kan-bayashi/ParallelWaveGAN/blob/master/parallel_wavegan/layers/pqmf.py#L11
I am not sure when scipy changed it, but it should be from scipy.signal.windows import kaiser. (tested on scipy version 1.14.0)
spencerchubb, longtou-2024, ftshijt and lqiancheng
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working