Giter Club home page Giter Club logo

spkr_diarization's Introduction

Speaker Diarization component for Alveo project. The role of the diarization tool is to segment long speech files into smaller chunks. The output labels will be used as a benchmark for human transcribers.

Navid Shokouhi July 2017

Packages:

  • Spro (for feature extraction)
  • AudioSeg (Diarization binaries)
  • Python:
    • numpy, scipy

Installation guide:

  • Installing Spro 4.0
    cd spro-directory
    ./configure
    make 
    make install 
    

NOTE: when installing on Mac, use Spro 5.0

  • Installing AudioSeg:
    cd audioseg-directory
    ./configure --with-spro=[path-to-spro-directory]
    make
    make install
    

diar.py

main module is diar.py, which contains an example script. To load in python, use diar.diarization(root_dir,wavname,ubmname,out_dir), where:

  root_dir: root directory of experiment. 
  wavname: full path to wave file on disk. 
  ubmname: full path to pretrained UBM on disk. 
  out_dir: output directory, to store intermediate files. 

Examples:

A working example for for Austalk data is available in experiments.

spkr_diarization's People

Contributors

idnavid avatar

Stargazers

Arvind Saane avatar Onyanga avatar

Watchers

 avatar Manish Kumar avatar  avatar

spkr_diarization's Issues

error while resegmentation

sgmestim error -- no training data available
sgmestim error -- no training data available
sgmestim error -- no training data available
sgmestim error -- no training data available
/home/manish/spkr_diarization/backup/code/resegment.py:83: RuntimeWarning: invalid value encountered in divide
trans_mat = trans_mat/float(N)
[[ nan nan nan nan]
[ nan nan nan nan]
[ nan nan nan nan]
[ nan nan nan nan]]
gmm_read() -- cannot open file ./out_dir/C3
hmm_read() -- cannot load GMM from file ./out_dir/C3 (state 1, line 2, file .//out_dir//diarizationExample_24502_hmm.txt)
sviterbi error -- cannot read hmm file .//out_dir//diarizationExample_24502_hmm.txt

very short segments after viterbi resegment

Hi Navid,

Is it possible to set a minimum duration in the viterbi re-segment step?

In my experiment, the viterbi resegment module produces very short segments as floowing. Is this normal? Could you give me any clue to improve the performance?

C6 10.00000 10.02000 -2.966428e+01
C2 10.02000 10.03000 -1.689653e+00
C6 10.03000 10.04000 -3.208828e+01
C2 10.04000 10.05000 1.641983e-01
C6 10.05000 10.06000 -3.235529e+01
C2 10.06000 10.07000 8.267341e-02
C6 10.07000 10.08000 -3.185583e+01
C2 10.08000 10.09000 -1.047346e+00
C6 10.09000 10.10000 -3.135441e+01

Thank you.

Liyong Guo

where can download train data?

Hi Navid
I am a newcomer, and this project is very helpful to me. How can I get the UBM_0 file? Is there an open data set? What is the austalk data mentioned in this spkr_diarization\code\readme.md file?

thanks!

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.