Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fine-tuning Error - FileNotFoundError: [Errno 2] No such file or directory #58

Open
wylken opened this issue Mar 14, 2024 · 0 comments
Open

Comments

@wylken
Copy link

wylken commented Mar 14, 2024

Firstly, thank you very much for the project; I'm learning a lot from it.

I'm trying to execute the fine-tuning, however, I'm receiving the following error:

`Train csv and eval csv already exists
finetuned_models\finetune_primo

DVAE weights restored from: C:\Users\wylken\Documents\Projetos\xtts-webui\models\v2.0.2\dvae.pth
Traceback (most recent call last):
File "C:\Users\wylken\Documents\Projetos\xtts-webui\modules\train.py", line 87, in train_model
speaker_xtts_path, config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(
^^^^^^^^^^
File "C:\Users\wylken\Documents\Projetos\xtts-webui\scripts\utils\gpt_train.py", line 175, in train_gpt
train_samples, eval_samples = load_tts_samples(
^^^^^^^^^^^^^^^^^
File "C:\Users\wylken\Documents\Projetos\xtts-webui\venv\Lib\site-packages\TTS\tts\datasets_init_.py", line 120, in load_tts_samples
meta_data_train = formatter(root_path, meta_file_train, ignored_speakers=ignored_speakers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\wylken\Documents\Projetos\xtts-webui\venv\Lib\site-packages\TTS\tts\datasets\formatters.py", line 59, in coqui
with open(filepath, "r", encoding="utf8") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'finetuned_models\finetune_primo\dataset\metadata_train.csv'`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant