Git Product home page Git Product logo

Comments (8)

fedderrico avatar fedderrico commented on May 7, 2024

Hello,
I've pretty much the same result, except for mine stops at about -600.
I used embeddings received from training https://github.com/HarryVolek/PyTorch_Speaker_Verification on TIMIT database. Also, when I use data obtained from mentioned project on uis-rnn demo.py the performance is not pretty good. So my question is same. Seems, like I'm doing something wrong.

And, BTW, thank you very much for sharing this project!

Finished diarization experiment
Config:
sigma_alpha: 1.0
sigma_beta: 1.0
crp_alpha: 1.0
learning rate: 0.001
regularization: 1e-05
batch size: 10

Performance:
averaged accuracy: 0.565950

from uis-rnn.

wq2012 avatar wq2012 commented on May 7, 2024

@fedderrico

I have no experience with TIMIT dataset. But I downloaded the single sample from its website:
https://catalog.ldc.upenn.edu/LDC93S1

And it doesn't look right...

This dataset doesn't seem to contain speaker labels, not to mention timestamped speaker labels.

Also, the audios are all from single speakers.

How can this dataset be used for diarization?

from uis-rnn.

fedderrico avatar fedderrico commented on May 7, 2024

TIMIT dataset was used to train the embedding net. For the uis rnn there's a script to combine several speakers into one utterance

from uis-rnn.

wq2012 avatar wq2012 commented on May 7, 2024

@fedderrico

That makes sense. Thanks for the clarification.

However, training uis-rnn on concatenated fake utterances is not the correct way to use it. It's not what uis-rnn is designed for.

Please see the discussions in #43 and #45

from uis-rnn.

fedderrico avatar fedderrico commented on May 7, 2024

Wow, turns out i misunderstood it from the beginning. Thank you. I'll try different approach

from uis-rnn.

wq2012 avatar wq2012 commented on May 7, 2024

@fedderrico

That said, we never tried to train uis-rnn on fake utterances. So there's no absolute evidence that it will not work. It's just not the way we designed it to be.

Maybe training uis-rnn on a mixture of real dialogues and fake utterances will still help. Will never know until having some experimental results.

from uis-rnn.

BarCodeReader avatar BarCodeReader commented on May 7, 2024

@fedderrico

That said, we never tried to train uis-rnn on fake utterances. So there's no absolute evidence that it will not work. It's just not the way we designed it to be.

Maybe training uis-rnn on a mixture of real dialogues and fake utterances will still help. Will never know until having some experimental results.

Hi,

firstly thanks for your paper and code. interesting concept.

Here I just don't understand:
in the paper talking about GE2E Loss, you mention this:
"we feed N speaker * M uterances as a batch...For TI-SV training, we divide training utterances into smaller segments, which we refer to as partial utterances. While we don’t require all partial utterances to be of the same length, all partial utterances in the same batch must be of the same length."
so means we need to prepare each utterance for each speaker, and we only use part of the information from the utterance, which is only [140,180] frames range.

so after this, if I get you right, you extract features from a real conversation, and feed them into the trained 3-layer LSTM to generate d-vector; and use uis-rnn to do the identification? so means we also generate d-vectors for "silence" or whatever non-related segments for uis-rnn?

could you please explain a bit about the "conversation" used to train the uis-rnn?

from uis-rnn.

wq2012 avatar wq2012 commented on May 7, 2024

@BarCodeReader

Here I just don't understand:
in the paper talking about GE2E Loss, you mention this:
"we feed N speaker * M uterances as a batch...For TI-SV training, we divide training utterances into smaller segments, which we refer to as partial utterances. While we don’t require all partial utterances to be of the same length, all partial utterances in the same batch must be of the same length."
so means we need to prepare each utterance for each speaker, and we only use part of the information from the utterance, which is only [140,180] frames range.

Yes, in each batch during training, only part of the utterance is used for speaker recognition. But during inference, embeddings from multiple sliding windows are being aggregated. This runtime inference logic supports online verification without having to wait until the end of utterance.

so after this, if I get you right, you extract features from a real conversation, and feed them into the trained 3-layer LSTM to generate d-vector; and use uis-rnn to do the identification?

Please be aware of the key difference:

  • For speaker verification, or the GE2E paper, the dataset is such that each utterance is from a single speaker.
  • For speaker diarization, or the uis-rnn paper, the dataset is such that each utterance has multiple speaker speaking in turn (a conversation, or a dialogue).

so means we also generate d-vectors for "silence" or whatever non-related segments for uis-rnn?

could you please explain a bit about the "conversation" used to train the uis-rnn?

No matter it is speaker verification or diarization, there will be a Voice Activity Detector endpointer that removes silence.

from uis-rnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.