You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: