Coder Social home page Coder Social logo

Comments (7)

hbredin avatar hbredin commented on August 17, 2024

In latest version of pyannote.audio (v1.0), pyannote.audio.labeling.tasks.SpeechActivityDetection has a overlap boolean parameter that can be used to train SAD with 3 classes (non-speech vs. one speaker vs. 2+ speakers) instead of 2 (non-speech vs. speech).

from pyannote-audio.

claudiv avatar claudiv commented on August 17, 2024

Hi there! Thank you for opensourcing this project 👍 .

I want to detect overlapping speech regions using pyAnnote.Audio version 1.0.1.
I trained a model with speech activity detection and enabled overlap detection (as you proposed in the previous comment). Then I applied the model to AMI corpus.
Now it's unclear to me how/where I can see the detected overlapping speech regions.
When I load my precomputed SAD-scores, I would normally binarize these SAD-scores to obtain speech regions, but where can I see regions with amount of detected speakers > 1 ?

Best wishes

from pyannote-audio.

hbredin avatar hbredin commented on August 17, 2024

With overlap=True, SAD scores are now 3-dimensional:

  • 1st dimension is for non-speech
  • 2nd dimension is for exactly one speaker
  • 3rd dimension is for 2 or more speakers

Therefore, you should binarize the 3rd dimension, ie use dimension=2 in

def apply(self, predictions, dimension=0):

FYI, I never really used this overlap detection so I'd be curious to receive some feedback on how well it performs...

from pyannote-audio.

chitwansaharia avatar chitwansaharia commented on August 17, 2024

Hi,

I am also working on the problem of overlap detection for AMI. For training, I followed your tutorial, just adding overlap: True parameter to config.yml, and I got a training loss curve like this (comparison b/w overlap and non-overlap)
screenshot 2019-01-23 at 1 09 01 pm
However, I am not sure how to evaluate this model using pyannote-metrics after binarizing the 3rd dimension.

from pyannote-audio.

hbredin avatar hbredin commented on August 17, 2024

You can take inspiration for pyannote-overlap-detection validation code or use the script directly

$ pyannote-overlap-detection --help

It will compute recall at fixed precision.

from pyannote-audio.

chitwansaharia avatar chitwansaharia commented on August 17, 2024

Thanks a lot!

from pyannote-audio.

hbredin avatar hbredin commented on August 17, 2024

Closing this stalled issue. Please re-open if needed.

See https://arxiv.org/abs/1910.11646 for more up-to-date overlapped speech detection results (obtained with pyannote.audio).

from pyannote-audio.

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.