GPT-SoVITS
GPT-SoVITS copied to clipboard
在中英混合下,出错了,生成的语句是“顾咏怀虽然在笑但是看起来好冷淡是怎么回事......”。 选择中文没有问题
pred_semantic, idx = t2s_model.model.infer_panel(
File "C:\GPT-SoVITS-beta\GPT_SoVITS\AR\models\t2s_model.py", line 335, in infer_panel x = x + self.bert_proj(bert_feature.transpose(1, 2)) RuntimeError: The size of tensor a (110) must match the size of tensor b (108) at non-singleton dimension 1
虽然选中文可以避过,但因为别的句子含有英文,所以只能选中英混合
~~问一下切分方式? 或更详细的反馈? 中英模式的错没能测出来,如果省略号后没有标点,选择按标点符号切会报 UnboundLocalError 错误,其他选项倒是都没错。~~ @KamioRinn 佬复现出来了,你这末尾原来是六个点不是中文省略号,反馈已收到,需要修复。
https://github.com/RVC-Boss/GPT-SoVITS/pull/532 更新了,楼主更新下代码再看看?
没问题了