Rudrabha / Wav2Lip

This repository contains the codes of "A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild", published at ACM Multimedia 2020. For HD commercial model, please try out Sync Labs
https://synclabs.so
10.19k stars 2.19k forks source link

TypeError: mel() takes 0 positional arguments but 2 positional arguments (an #355

Open Riny00 opened 2 years ago

Riny00 commented 2 years ago

Why is that?

Saraceni commented 1 year ago

Having the same problem here =/ on Debian

desis123 commented 1 year ago

I was having the same issue with Ubuntu 22,04 , the problem propagates from librosa version mismatched.. For somehow my conda environment having librosa 0.10.1 version, so I uninstalled the 0.10.1 version of librosa and insalled 0.8.1 version of librosa and it solved the issue . Good Luck

ohld commented 1 year ago

For ones who run Wav2Lip on macos, I fixed this with downgrading librosa:

pip install -U librosa==0.8.1

Thanks to @desis123 for hint above

agilebean commented 1 year ago

For ones who run Wav2Lip on macos, I fixed this with downgrading librosa:

pip install -U librosa==0.8.1

Thanks to @desis123 for hint above

The latest version which still fixes the error is 0.9.1, so install by:

pip install librosa=0.9.1