-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Description
Describe the bug
In file: "C:\Users\UserName\AppData\Local\tts\tts_models--en--vctk--vits\config.json" There is "max_audio_len": Infinity, on line 92 and "max_text_len": Infinity, on line 94. It produces an error saying Valued expected json(516). Replacing Infinity with null or a large number seems to fix the error.
To Reproduce
I was cloning a voice using the model tts_models/en/vctk/vits and I found the error when I went into the config file. It seems to be universal if using model en/vctk/vits
Expected behavior
When running it doesn't spit out any errors. It is only an error in the editor. It says Value expected json(516)
Logs
Environment
TTS Version: 0.22.0
PyTorch Version: 2.5.1+cu121
Python version: 3.10.11
OS: Windows
I installed PyTorch using pipAdditional context
Dependencies I used in my python script:
os, json, subprocess, shutil, ModelManager.
Also copied the config file to the folder I have my python script:
new_config_path = os.path.abspath("peppa_training_config.json")