-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Colab Notebook example cannot be run #578
Comments
lets debug the error: |
Thank you for your reply. The problem was solved by lowering the version of librosa, but a new problem appeared. The installation of the lower version of numba failed, and the following interface incompatibility problem occurred with the higher version of numba. how should I solve this? |
I think these error's are rising due to incompatibility issues.- So trying previous builds of python might help, rather than using python 3.10. |
If you lower the python version to 3.8, pip cannot be installed, and the example still cannot be run. colab cannot install python3.6. |
is there anyway you can try to run it on your local machine. |
Which colab are you running? |
https://colab.research.google.com/drive/1tZpDWXz49W6wDcTprANRGLo2D_EbD5J8?usp=sharing |
After reading librosa Doc https://librosa.org/doc/latest/generated/librosa.filters.mel.html |
To all those facing : No module named 'numba.decorators' set librosa version to 0.9.0. and numba = 0.58.1 Colab - Python 3.10.12 |
Colab Notebook example cannot be run
error message:
Using cuda for inference. Reading video frames... Number of frames available for inference: 210 Traceback (most recent call last): File "/content/Wav2Lip/inference.py", line 280, in <module> main() File "/content/Wav2Lip/inference.py", line 225, in main mel = audio.melspectrogram(wav) File "/content/Wav2Lip/audio.py", line 47, in melspectrogram S = _amp_to_db(_linear_to_mel(np.abs(D))) - hp.ref_level_db File "/content/Wav2Lip/audio.py", line 95, in _linear_to_mel _mel_basis = _build_mel_basis() File "/content/Wav2Lip/audio.py", line 100, in _build_mel_basis return librosa.filters.mel(hp.sample_rate, hp.n_fft, n_mels=hp.num_mels, TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given
why && how to fix?
The text was updated successfully, but these errors were encountered: