Skip to content

在语音合成和自然语言控制中重新使用保存的3秒急速复刻音色。expand to reuse the saved zero_shot_spk_id in sft, instruct2 #1475

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WLimin
Copy link

@WLimin WLimin commented Jul 23, 2025

cosyvoice2.inference_instruct2中接收zero_shot_spk_id参数,但和add_zero_shot_spk生成并保存的zero_shot_spk_id内容有所不同。补丁中增加了缺失的部分,可以使用该参数正确执行。
同理,在inference_sft中也存在该情况。可以参考ReadMe.md中的例子,增加zero_shot_spk_id非空的情况复现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant