9
怎么调整成女生音色?
怎么调整成女生音色?
通过设置torch.manual_seed(SEED)
来调整声色
torch.manual_seed(1122) # 比如说1122是女生音色
params_infer_code = {
'spk_emb': chat.sample_random_speaker(),
'temperature': 0.1,
'top_P': 0.9,
'top_K': 20,
}
wavs = chat.infer([<put you text in here>], use_decoder=True,
params_infer_code=params_infer_code)
通过设置
torch.manual_seed(SEED)
来调整声色torch.manual_seed(1122) # 比如说1122是女生音色 params_infer_code = { 'spk_emb': chat.sample_random_speaker(), 'temperature': 0.1, 'top_P': 0.9, 'top_K': 20, } wavs = chat.infer([<put you text in here>], use_decoder=True, params_infer_code=params_infer_code)
请问大佬这个音色表在哪里可以找到?
me too
通过设置
torch.manual_seed(SEED)
来调整声色torch.manual_seed(1122) # 比如说1122是女生音色 params_infer_code = { 'spk_emb': chat.sample_random_speaker(), 'temperature': 0.1, 'top_P': 0.9, 'top_K': 20, } wavs = chat.infer([<put you text in here>], use_decoder=True, params_infer_code=params_infer_code)
我不认为它有效果。
Duplicate with #15 #63 #72 #97