在语音合成和自然语言控制中重新使用保存的3秒急速复刻音色。expand to reuse the saved zero_shot_spk_id in sft, instruct2#1475
Open
WLimin wants to merge 1 commit intoFunAudioLLM:mainfrom
Open
在语音合成和自然语言控制中重新使用保存的3秒急速复刻音色。expand to reuse the saved zero_shot_spk_id in sft, instruct2#1475WLimin wants to merge 1 commit intoFunAudioLLM:mainfrom
WLimin wants to merge 1 commit intoFunAudioLLM:mainfrom
Conversation
Signed-off-by: wang <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cosyvoice2.inference_instruct2中接收zero_shot_spk_id参数,但和add_zero_shot_spk生成并保存的zero_shot_spk_id内容有所不同。补丁中增加了缺失的部分,可以使用该参数正确执行。
同理,在inference_sft中也存在该情况。可以参考ReadMe.md中的例子,增加zero_shot_spk_id非空的情况复现。