Skip to content

🐛 GPT-SOVITS-V2合成音频失败,报错 AttributeError: 'Text2SemanticDecoder' object has no attribute 'infer_panel_naive_batched' #4

@Ikaros-521

Description

@Ikaros-521

GPT-SOVITS-V2 20250118
洛曦AI V0.3.0

Traceback (most recent call last):
  File "F:\GPT-SoVITS-v2-1027\api_v2.py", line 354, in tts_handle
    sr, audio_data = next(tts_generator)
  File "F:\GPT-SoVITS-v2-1027\runtime\lib\site-packages\torch\utils\_contextlib.py", line 35, in generator_context
    response = gen.send(None)
  File "F:\GPT-SoVITS-v2-1027\GPT_SoVITS\TTS_infer_pack\TTS.py", line 708, in run
    self.t2s_model.model.infer_panel = self.t2s_model.model.infer_panel_naive_batched
  File "F:\GPT-SoVITS-v2-1027\runtime\lib\site-packages\torch\nn\modules\module.py", line 1614, in __getattr__
    raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'Text2SemanticDecoder' object has no attribute 'infer_panel_naive_batched'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions