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

Fix NaN in sources provided by the separation pipeline #1815

Merged

Conversation

clement-pages
Copy link
Collaborator

Sometimes the number of speakers in the diarization output is greater than the number of sources produced by the pipeline. The pipeline then adds sources consisting exclusively of 0. This introduces a division by zero in the normalisation of these sources. This RP fixes this issue.

@clement-pages clement-pages marked this pull request as ready for review December 19, 2024 10:30
@hbredin hbredin merged commit d6136a8 into pyannote:develop Feb 4, 2025
4 checks passed
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.

2 participants