agostini01 / Real-Time-Voice-Cloning

Clone a voice in 5 seconds to generate arbitrary speech in real-time
0 stars 4 forks source link

Error on loading models. Must enable shared models and data. #3

Open agostini01 opened 4 years ago

agostini01 commented 4 years ago
agostini01 commented 4 years ago

Current error message:

Preparing the encoder, the synthesizer and the vocoder...
Traceback (most recent call last):
  File "demo_cli.py", line 62, in <module>
    encoder.load_model(args.enc_model_fpath)
  File "/home/agostini/Development/Real-Time-Voice-Cloning/rtvc/encoder/inference.py", line 33, in load_model
    checkpoint = torch.load(weights_fpath)
  File "/home/agostini/miniconda/envs/dles/lib/python3.7/site-packages/torch/serialization.py", line 525, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "/home/agostini/miniconda/envs/dles/lib/python3.7/site-packages/torch/serialization.py", line 212, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "/home/agostini/miniconda/envs/dles/lib/python3.7/site-packages/torch/serialization.py", line 193, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'encoder/saved_models/pretrained.pt'