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

config.json not found #73

Open
NarcissistDragon opened this issue Oct 16, 2024 · 0 comments
Open

config.json not found #73

NarcissistDragon opened this issue Oct 16, 2024 · 0 comments

Comments

@NarcissistDragon
Copy link

when I run the training I get an error saying config.json file doesnt exist.

Traceback (most recent call last): File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\xtts_demo.py", line 380, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\utils\gpt_train.py", line 97, in train_gpt shutil.copy(XTTS_CONFIG_FILE, NEW_XTTS_CONFIG_FILE) File "C:\Users\obblvck\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 417, in copy copyfile(src, dst, follow_symlinks=follow_symlinks) File "C:\Users\obblvck\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 254, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\obblvck\\Documents\\APPS\\XTTS\\xtts-finetune-webui\\base_models\\v2.0.2\\config.json' Traceback (most recent call last): File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\queueing.py", line 489, in call_prediction output = await route_utils.call_process_api( File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1570, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1397, in postprocess_data self.validate_outputs(fn_index, predictions) # type: ignore File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\venv\lib\site-packages\gradio\blocks.py", line 1371, in validate_outputs raise ValueError( ValueError: An event handler (train_model) didn't receive enough output values (needed: 6, received: 5). Wanted outputs: [label, textbox, textbox, textbox, textbox, textbox] Received outputs: ["The training was interrupted due an error !! Please check the console to check the full error message! Error summary: Traceback (most recent call last): File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\xtts_demo.py", line 380, in train_model speaker_xtts_path,config_path, original_xtts_checkpoint, vocab_file, exp_path, speaker_wav = train_gpt(custom_model,version,language, num_epochs, batch_size, grad_acumm, train_csv, eval_csv, output_path=output_path, max_audio_length=max_audio_length) File "C:\Users\obblvck\Documents\APPS\XTTS\xtts-finetune-webui\utils\gpt_train.py", line 97, in train_gpt shutil.copy(XTTS_CONFIG_FILE, NEW_XTTS_CONFIG_FILE) File "C:\Users\obblvck\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 417, in copy copyfile(src, dst, follow_symlinks=follow_symlinks) File "C:\Users\obblvck\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 254, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\obblvck\\Documents\\APPS\\XTTS\\xtts-finetune-webui\\base_models\\v2.0.2\\config.json' ", "", "", "", ""]

how can I fix this?

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