Skip to content
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

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

Open
Ikaros-521 opened this issue Jan 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Ikaros-521
Copy link
Owner

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'
@Ikaros-521 Ikaros-521 added the bug Something isn't working label Jan 18, 2025
@Ikaros-521
Copy link
Owner Author

打开 并行推理

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant