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

[cli] add seed to prevent randomization of results #268

Closed
wants to merge 2 commits into from
Closed

[cli] add seed to prevent randomization of results #268

wants to merge 2 commits into from

Conversation

srdfjy
Copy link
Contributor

@srdfjy srdfjy commented Jan 29, 2024

No description provided.

@@ -32,6 +32,9 @@
from wespeaker.diar.spectral_clusterer import cluster
from wespeaker.diar.extract_emb import subsegment
from wespeaker.diar.make_rttm import merge_segments
from wespeaker.utils.utils import set_seed

set_seed()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better move this line into the __init__ func in class Speaker

@srdfjy srdfjy closed this Jan 31, 2024
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