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

changing <partials_n_frames> to reduce partial utterances length and increase resolution (diarization with spectral clustering) #50

Open
dcanones opened this issue Mar 2, 2021 · 3 comments

Comments

@dcanones
Copy link

dcanones commented Mar 2, 2021

Hi!

I am trying to implement the paper: https://arxiv.org/pdf/1710.10468.pdf to create an unsupervised diarization algorithm using the d-vectors provided by the pre-trained model in Resemblyzer.

I found that the length of the partial utterances (1.6s), determined by the hyperparameter partials_n_frames with a default value 160 may be too high. In the paper, the authors recommend a window size and step of 240ms and 120ms for this kind of diarization, respectively.

Is this parameter something that can be changed easily? As it is implemented as a setting in the source (hyperparams.py) code and not as an argument of a function or method it looks like it is not a good idea to modify it.

Thanks in advance.

David.

@sourav1122
Copy link

did u change mel window length to 240 and mel window step to 120??

@hbq-ruc
Copy link

hbq-ruc commented Jul 23, 2021

I have the same question as I had resolution issues while implementing the same paper. I'm a little confused why partials_n_fames isn't a changeable parameter. Have you tried changing it?

@kafan1986
Copy link

kafan1986 commented May 7, 2022

Who said the partials_n_fames can not be changed? If my partial utterance duration is 400ms (default is 1.6 seconds), I would make the rate to be 2.5 and then change the value of partials_n_frames = 40, so that mel_window_step * partials_n_frames == partial utterance duration

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

4 participants