Code Monkey home page Code Monkey logo

sgvad's Introduction

An official implementation of the ICASSP 2023 paper: SG-VAD: Stochastic Gates Based Speech Activity Detection

UPDATES:

2024-01-03: removed hard coded dependency on 36 labels exactly. Now you can defind any number of labels you want and the code should support it.

Evaluation results (published checkpoint)

AVA-speech test

  • EER=10.40%
  • TPR@FPR=0.315 is 0.96
  • ROCAUC=0.95

HAVIC test

  • EER=23.29%
  • TPR@FPR=0.315 is 0.91
  • ROCAUC=0.83

Training

In order to train a new model you need to prepare the next dataset: 1. The manifest file with noise audio files paths (the same duration as the audios with words), the label should be "background" 2. The manifest file with spoken words file paths, each word should be labeled with one category

Please note that, as described in the paper, the main VAD model is trained as mask/filter as presented in the next schema:

Once the training is finished, the final model architecture is:

  1. Prepare your dataset in manifest format supported by NeMo
  2. Update config file with your paths and hyper-params
  3. Install NeMo requirements
  4. Run train.py script.

Inference:

  1. We publish a pre-trained Pytorch checkpoint (sgvad.pth)
  2. To use the published checkpoint as-is you need to calibrate the threshold for model output. All values under the threshold are predicted as Non-speech.
  3. The default value for the threshold is 3.5, but it may be too aggressive for your application.
  4. To try it on test audios run python sgvad.py

Aknowledgements:

We thank NeMo team for their great open source repo.

Citation:

@inproceedings{svirsky2023sg,
  title={SG-VAD: Stochastic Gates Based Speech Activity Detection},
  author={Svirsky, Jonathan and Lindenbaum, Ofir},
  booktitle={ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  pages={1--5},
  year={2023},
  organization={IEEE}
}

sgvad's People

Contributors

jsvir 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.