CorentinJ/Real-Time-Voice-Cloning

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

Yomag84 opened this issue · 1 comments

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.

#1176
Its must help you