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

librosa.filters.mel error in test/test.py after install (Windows 11) #68

Open
welbornt opened this issue Feb 2, 2024 · 0 comments
Open

Comments

@welbornt
Copy link
Contributor

welbornt commented Feb 2, 2024

Output of python3 test/test.py after cloning:

Initializing VoiceFixer...
Test voicefixer mode 0, Using CPU:
Pass
Test voicefixer mode 1, Using CPU:
Pass
Test voicefixer mode 2, Using CPU:
Pass
Initializing 44.1kHz speech vocoder...
Test vocoder using groundtruth mel spectrogram...
Using CPU:
Traceback (most recent call last):
  File "C:\Users\Timothy\voicefixer\test\test.py", line 85, in <module>
    vocoder.oracle(
  File "C:\Users\Timothy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\voicefixer\vocoder\base.py", line 71, in oracle
    mel = linear_to_mel(stft)
          ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Timothy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\voicefixer\vocoder\model\util.py", line 127, in linear_to_mel
    _mel_basis = build_mel_basis()
                 ^^^^^^^^^^^^^^^^^
  File "C:\Users\Timothy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\voicefixer\vocoder\model\util.py", line 116, in build_mel_basis
    return librosa.filters.mel(
           ^^^^^^^^^^^^^^^^^^^^
TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 4 keyword-only arguments) were given
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

1 participant