Keyword spotting in continuous speech using convolutional neural network
This is a PyTorch implementation of some popular CNN models architecture like Deep Residual Models, Convolutional Neural Networks for Keyword Spotting, and our proposed architecture based on EfficientNet. all models are trained on our new Persian Keyword Spotting Dataset that you can download from Football Keywords Dataset. For more details, please check out our paper Keyword spotting in continuous speech using convolutional neural network / DOI.
This repository is based on Honk-Repository. Honk models can be used to identify simple commands (e.g., "stop" and "go") that trained on Speech Commands Dataset. but our work has some improvements and advantages as below:
- We used the modified state of the art image classification architecture,
efficientNet
, as a based model. - Improve performance in "continuous speech" mode by our Proposed
continuous speech synthesis method
. - Improve robustness against noises in real samples by using various noises like bubble, stadium, ... .
- Better generalization by using SpecAugment.
- Using our new Persian Keywords Spotting Dataset that helped us to use this project in real scenarios and projects.
Use the instructions below to run the demo application (shown in the above video) yourself! Currently, PyTorch has official support for only Linux and OS X. Thus, Windows users will not be able to run this demo easily.
To deploy the demo, run the following commands:
- change directory to KSM Repository.
- If you do not have PyTorch, please see the website.
- Install Python dependencies:
pip install -r requirements.txt
- Start the PyTorch server:
python .
- Run the demo:
python -m utils.speech_demo_tk
If you need to adjust options, like turning off CUDA or change trained model file or ... , please edit config.json
.
As soon as possible we release KSM trained-models in our repository. there are several pre-trained models for PyTorch.
Feel free to contact us for any further information via below channels.
- email: amirmohammadrostami@yahoo.com, a.m.rostami@aut.ac.ir
- linkdin: amirmohammadrostami
- homepage: amirmohammadrostami
- email: aliiikarimi@ut.ac.ir
- email: akhaee@ut.ac.ir
- homepage: Mohammad Ali Akhaee