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

extracting unique speaker embeddings from pipeline #249

Open
Aduomas opened this issue Oct 28, 2024 · 1 comment
Open

extracting unique speaker embeddings from pipeline #249

Aduomas opened this issue Oct 28, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Aduomas
Copy link

Aduomas commented Oct 28, 2024

have not found a way to extract unique speaker embeddings from the pipeline after running it.

it would allow to similarity function against existing saved speaker embeddings to identify speakers.

@juanmc2005
Copy link
Owner

Hi @Aduomas, you could get to the centroids (averaged embeddings) of the pipeline in this way:

pipeline = SpeakerDiarization()
# inference over your stream
centroids = pipeline.clustering.centers

@juanmc2005 juanmc2005 added the question Further information is requested label Dec 13, 2024
@juanmc2005 juanmc2005 assigned juanmc2005 and unassigned juanmc2005 Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants