CorentinJ / Real-Time-Voice-Cloning

Clone a voice in 5 seconds to generate arbitrary speech in real-time
Other
52.83k stars 8.8k forks source link

TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given #1302

Open Yomag84 opened 5 months ago

Yomag84 commented 5 months ago

Hi, Got this error when testing with the demo_cli.py

TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 2 keyword-only arguments) were given

The arguments below are the first output before the error. Arguments: enc_model_fpath: saved_models\default\encoder.pt syn_model_fpath: saved_models\default\synthesizer.pt voc_model_fpath: saved_models\default\vocoder.pt cpu: False no_sound: False seed: None

Running a test of your configuration...

Using CPU for inference.

Preparing the encoder, the synthesizer and the vocoder... Loaded encoder "encoder.pt" trained to step 1564501 Synthesizer using device: cpu Building Wave-RNN Trainable Parameters: 4.481M Loading model weights at saved_models\default\vocoder.pt Testing your configuration with small inputs. Testing the encoder...

somebody help.

tatarenstas commented 5 months ago

https://github.com/CorentinJ/Real-Time-Voice-Cloning/issues/1176 Its must help you