Code Monkey home page Code Monkey logo

rpn_kws's Introduction

RPN_KWS

Pytorch code of paper "Region Proposal Network Based Small-Footprint Keyword Spotting" https://ieeexplore.ieee.org/document/8807313

Please cite the work below if you want to use the code or want to do research related to our work

@ARTICLE{hou2019region, 
author={Hou, Jingyong and Shi, Yangyang and Ostendorf, Mari and  Hwang, Mei-Yuh
and Xie, Lei }, 
journal={IEEE Signal Processing Letters}, 
title={Region Proposal Network Based Small-Footprint Keyword Spotting}, 
year={2019}, 
volume={26}, 
number={10}, 
pages={1471-1475}
}

I will release a new version of RPN KWS with an Online Hard Example Mining (OHEM) algorithm, which will improve our system.

https://github.com/jingyonghou/RPN_KWS_OHEM

Detection samples

image

image

Selected two utterances which contains predefined keyword. The red box is the ground-truth start-end area of keyword from forced-alignment, the blue box is the best anchor selected according to the classification score, the green box is the proposed region proposal corresponding to the best anchor.

Running environment

Python 2.7.15

pytorch 0.4.1

CUDA 8.0 or higher

Kaldi

You should know basic knowledge of Kaldi before looking at the run script. I use Kaldi to extract Fbank features and do a global CMVN using the statictics from all training set. You should add cmd.sh, path.sh, steps and utils to your working dir before you run the script.

Please follow the run_rpn_kws.sh script to learn how to run the code

reference

https://github.com/jwyang/faster-rcnn.pytorch

https://github.com/vesis84/kaldi-io-for-python

rpn_kws's People

Contributors

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