CorentinJ / Real-Time-Voice-Cloning

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

Installs in English, because *.pt file sizes do not match #1201

Closed fran478 closed 1 year ago

fran478 commented 1 year ago

Hello, When I run the demo . It tells me all the tests they were passed. Then it asks me for the location of an mp3 file to be cloned. When I give you the location

Testing the vocoder... All test passed! You can now synthesize speech.

enc_model_fpath: saved_models\default\encoder.pt syn_model_fpath: synthesizer\saved_models\cvcorpus\cvcorpus_200k.pt voc_model_fpath: saved_models\default\vocoder.pt cpu: False no_sound: False seed: None

Then it asks me for the location of a voice mp3 file to be cloned. When I give you the location. I know the file exists, but it still says the following

Interactive generation loop Reference voice: enter an audio filepath of a voice to be cloned (mp3, wav, m4a, flac, ...): C:\1.mp3 C:\Users\ewr\anaconda3\envs\sintetizador-espanol\lib\site-packages\librosa\core\audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead. warnings.warn("PySoundFile failed. Trying audioread instead.") Caught exception: FileNotFoundError(2, 'No such file or directory') Restarting

when i run python demo_toolbox.py

It runs with the configuration in English and I can only select within of the software encoder,vocoder,sinthesizer as default. Arguments: datasets_root: None models_dir: saved_models cpu: False seed: None

If I change the trainings inside the saved_models folder for the encoder, vocoder, sinthesizer in Spanish. When I run python demo_toolbox.py. the encoder, vocoder, sinthesizer training is downloaded in English. I don't know what I'm doing wrong. Thank you