GithubHelp home page GithubHelp logo

liutaocode / dscore-ovl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nryant/dscore

1.0 0.0 0.0 236 KB

Detailed information for diarization metric: dscore, including errors in overlapped part.

License: BSD 2-Clause "Simplified" License

Python 51.45% Perl 48.55%

dscore-ovl's Introduction

Introduction

Diarization error rate consists of speaker error, false alarm speech, and missed speech, which may occur in overlapped parts. Sometimes, we want to evaluate the algorithm's ability to handle overlapped speeches, especially for diarization with OSD(Overlapped speech detection), e.g., EEND and multi-modal diarization.

In this repo, we modified dscore to report errors in overlapped speech detection. Besides, we also make dscore to report detailed information, including speaker error, false alarm speech, and missed speech.

Notes: Other features may be affected and are not fullly tested.

Other unmentioned ilustrations can be found on the official repo here.

Usages:

python score.py -r ref_rttm -s sys_rttm --collar 0.25 or 0
  • ref_rttm --- the reference rttm from the ground truth
  • sys_rttm --- the system or hypothesis rttm from the models' prediction

Results:

collar    MS        FA         SC        OVL       DER        JER
------  ------  ----------  --------  --------  ---------  ---------
(value) (value)   (value)    (value)   (value)   (value)    (value)
  • MS: missed speech
  • FA: false alarm speech
  • SC: speaker confusion or speaker error
  • OVL: errors in overlapped speech part
  • DER: Diarization error rate, the sum of MS, FA and SC
  • JER: Jaccard error rate

Test Case

This case is from VBx

python score.py -r cases/callhome_part2_ref_gt.rttm -s ./cases/prediction_callhome_part2_vbx.rttm

Results (collar = 0):

  collar     MS    FA    SC    OVL    DER    JER
--------  -----  ----  ----  -----  -----  -----
    0.00  14.45  0.00  6.61  14.82  21.06  33.84

Results (collar = 0.25):

  collar    MS    FA    SC    OVL    DER    JER
--------  ----  ----  ----  -----  -----  -----
    0.25  9.89  0.00  3.44  10.16  13.33  33.84

For example, VBx can not handle overlapped speeches, so its OVL part is worse.

References

dscore-ovl's People

Contributors

nryant avatar liutaocode avatar dieg0as avatar hadware avatar

Stargazers

 avatar

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.