We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我看代码模型里面语音情感的维度写死了,目前只有 【普通 生气 开心 惊讶 悲伤 厌恶 恐惧】 这7个维度, 比如要增加 撒娇 ,要怎么改呢?
The text was updated successfully, but these errors were encountered:
Which specific code are you referring to?
Sorry, something went wrong.
style_encoder = StyleEncoder(config) model_CKPT = torch.load(config.style_encoder_ckpt, map_location="cpu") model_ckpt = {} for key, value in model_CKPT['model'].items(): new_key = key[7:] model_ckpt[new_key] = value style_encoder.load_state_dict(model_ckpt, strict=False)
这段代码,key=‘emotion_clf.classifier.bias’ 和key = ‘emotion_clf.classifier.weight’ ,只有7个维度的情感类型
No branches or pull requests
我看代码模型里面语音情感的维度写死了,目前只有 【普通 生气 开心 惊讶 悲伤 厌恶 恐惧】 这7个维度, 比如要增加 撒娇 ,要怎么改呢?
The text was updated successfully, but these errors were encountered: