Closed dhvms99 closed 3 months ago
@dhvms99 안녕하세요! I'm here to assist you with any bugs, questions, or contributions. Let's work together to solve this issue.
I found two similar closed issues that might help:
FileNotFoundError: [Errno 1] No such file or directory: 'checkpoints/base_speakers/EN/config.json': The suggested solution is to download the checkpoint from here and extract it to the checkpoints
folder. It seems you might have missed this step [1].
Cant install and run project: The solution here is similar; you need to download and extract the checkpoint to the base folder from this link [2].
For your specific issue, ensure that the checkpoints/base_speakers/EN
directory exists and contains the config.json
file. The demo_part1.ipynb
notebook expects the checkpoints to be in specific directories:
ckpt_base = 'checkpoints/base_speakers/EN'
base_speaker_tts = BaseSpeakerTTS(f'{ckpt_base}/config.json', device=device)
base_speaker_tts.load_ckpt(f'{ckpt_base}/checkpoint.pth')
Since you mentioned OpenVoice V2, make sure you download the checkpoint from here and extract it to the checkpoints_v2
folder as per the docs/USAGE.md
instructions [3].
If you still encounter issues, verify that the paths in your script match the actual directory structure.
To continue talking to Dosu, mention @dosu.
While running a code in 'demo_part1.ipynb' file, I got an error like below
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/base_speakers/EN/config.json'
OpenVoice V2 Download the checkpoint from [here](https://myshell-public-repo-host.s3.amazonaws.com/openvoice/checkpoints_v2_0417.zip) and extract it to the checkpoints_v2 folder.
Is it correct to unzip it inside the Openvoice folder? I don't see any json files inside the checkpoint_v2 folder.