|
发表于 2025-5-18 21:30:52
|
显示全部楼层
这是什么,我素材3分钟多,分割音频后,也只得到了一个完整的3分多的音频,3连的时候出现以下代码:
Traceback (most recent call last):
File "D:\GPT-SoVITS_V4_250424\GPT_SoVITS\prepare_datasets\1-get-text.py", line 95, in process
bert_feature = get_bert_feature(norm_text, word2ph)
File "D:\GPT-SoVITS_V4_250424\GPT_SoVITS\prepare_datasets\1-get-text.py", line 73, in get_bert_feature
res = bert_model(**inputs, output_hidden_states=True)
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\transformers\models\bert\modeling_bert.py", line 1461, in forward
outputs = self.bert(
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\transformers\models\bert\modeling_bert.py", line 1078, in forward
embedding_output = self.embeddings(
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)
File "D:\GPT-SoVITS_V4_250424\env\lib\site-packages\transformers\models\bert\modeling_bert.py", line 217, in forward
embeddings += position_embeddings
RuntimeError: The size of tensor a (728) must match the size of tensor b (512) at non-singleton dimension 1
Traceback (most recent call last):
File "D:\GPT-SoVITS_V4_250424\webui.py", line 1166, in open1abc
assert len("".join(opt)) > 0, process_info(process_name_1a, "failed")
AssertionError: 文本分词与特征提取失败
训练集格式化一键三连进程已终止
训练集格式化一键三连进程已终止 |
|