Skip to content
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

关于说话人概率的计算 #63

Open
kyin2905 opened this issue Apr 11, 2024 · 3 comments
Open

关于说话人概率的计算 #63

kyin2905 opened this issue Apr 11, 2024 · 3 comments

Comments

@kyin2905
Copy link

你好!demoTalkNet.py中似乎给出了每一帧中说话人检测的得分(score)。得分为正判定为说话,得分为负判定为不说话。如何根据得分计算出说话人正在说话的概率呢?

@TaoRuijie
Copy link
Owner

最后二分类的结果取Softmax即可

@kyin2905
Copy link
Author

kyin2905 commented May 4, 2024

最后二分类的结果取Softmax即可

谢谢你的回复!softmax貌似需要多个类别的预测得分,这里socre只保存了每一帧的预测值而没有多个类别的预测值。是不是用sigmoid会更好些?

@TaoRuijie
Copy link
Owner

可以试试 想了一下原理上来说 结果应该是一样的

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

No branches or pull requests

2 participants