Skip to content

'Failed to initialize ttsfrd resource' AssertionError: Failed to initialize ttsfrd resource #50

@Judy-Liang

Description

@Judy-Liang

即使从cosyvoice下载了 spk2info.pt 文件,还是会报这个错,如何解决呢?
prepare tts engine failed Traceback (most recent call last): File "/mnt/workspace/GLM-TTS/glmtts_inference.py", line 433, in <module> frontend, text_frontend, speech_tokenizer, llm, flow = load_models( File "/mnt/workspace/GLM-TTS/glmtts_inference.py", line 393, in load_models frontend, text_frontend = load_frontends(speech_tokenizer, sample_rate=sample_rate, use_phoneme=use_phoneme) File "/mnt/workspace/GLM-TTS/glmtts_inference.py", line 105, in load_frontends text_frontend = TextFrontEnd(use_phoneme) File "/mnt/workspace/GLM-TTS/cosyvoice/cli/frontend.py", line 138, in __init__ assert self.frd.initialize(res_path) is True, 'Failed to initialize ttsfrd resource' AssertionError: Failed to initialize ttsfrd resource

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions