-
Notifications
You must be signed in to change notification settings - Fork 2
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
调 export_torch_script.py 的时候只能用中文吗 #1
Comments
以前也有个人和你是一样的情况。不过我的 export_torch_script.py 里确实只能中文。因为这一行 https://github.com/RVC-Boss/GPT-SoVITS/blob/a70e1ad30c072cdbcfb716962abdc8008fa41cc2/GPT_SoVITS/export_torch_script.py#L619 |
我前面改了 en 也不行,升级一下 torch 就能导出了,我明天试下能不能跑起来,感谢大佬 |
跑起来了吗 |
感谢大佬指导~ |
请问一下大佬,
我在执行导出 .pt 文件的时候,可以导出bert_model.pt ssl_model.pt,但继续的时候就报错了。看起来是按中文去处理参考文本导致后续传参有问题了?(后面试了下就算改了
get_phones_and_bert(
后面的 "all_zh" 为 "en" 也还是会报错)执行命令:
python GPT_SoVITS/export_torch_script.py --device cuda --gpt_model GPT_weights_v2/ddd-long-e15.ckpt --sovits_model SoVITS_weights_v2/ddd-long_e50_s13950.pth --ref_audio /root/workspace/temp-files/ddd-6s-f.wav --ref_text 'Some example texts.' --output_path pt_output --export_common_model
控制台输出:
The text was updated successfully, but these errors were encountered: