CorentinJ / Real-Time-Voice-Cloning

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

Download for synthesizer.pt failed. #1295

Open mikail-eliyah-00 opened 6 months ago

mikail-eliyah-00 commented 6 months ago

While at: Real-Time-Voice-Cloning-master/saved_models/default % tree -f . ├── ./encoder.pt ├── ./synthesizer.pt └── ./vocoder.pt

1 directory, 3 files ursa@USQ04Q6HK79M default % cd .. ursa@USQ04Q6HK79M saved_models % tree -f . └── ./default ├── ./default/encoder.pt ├── ./default/synthesizer.pt └── ./default/vocoder.pt

""" Traceback (most recent call last):
File "/Real-Time-Voice-Cloning-master/demo_cli.py", line 64, in
ensure_default_models(Path("saved_models")) File "/Real-Time-Voice-Cloning-master/utils/default_models.py", line 54, in ensure_default_models assert target_path.exists() and target_path.stat().st_size == size, \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Download for synthesizer.pt failed. You may download models manually instead. https://drive.google.com/drive/folders/1fU6umc5uQAVR2udZdHX-lDgXYzTyqG_j """

lingjie2098 commented 1 month ago

eg (Real-Time-Voice-Cloning_Py38Venv) D:\AS_WorkSpace_X\Real-Time-Voice-Cloning_Py38Venv\Scripts>python ....\Real-Time-Voice-Cloning\demo_cli.py

you need put encoder.pt/synthesizer.pt/vocoder.pt into D:\AS_WorkSpace_X\Real-Time-Voice-Cloning_Py38Venv\Scripts\saved_models\default

so check your path