Skip to content

Conversation

@muglikar
Copy link

@muglikar muglikar commented Oct 9, 2024

Did changes to the return statement of the function _build_mel_basis(), due to the error below and it worked fine afterwards.:

File expts/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

File expts/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
@rfcosta85
Copy link

rfcosta85 commented Apr 29, 2025

I used this solution in my colab and this solve the problem.

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

Successfully merging this pull request may close these issues.

2 participants