← Open Source
ARM-software

ML-KWS-for-MCU

Keyword spotting on Arm Cortex-M Microcontrollers.

ApplicationsOtherC
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.26k
Stars
428
Forks
+1
This week
0
Contributors
Created 2017-12-13 · Updated 2026-10-10 · #10927 today

ARM-software/ML-KWS-for-MCU is ranked 10,927 with 1,260 stars.

Same-category comparison

ARM-software/ML-KWS-for-MCU is ranked 10,927 among these 8 peers; mbrg/power-pwn is ranked 10,928.

Same-category comparison
NameRankMetrics
MiniMax-AI/OpenRoom10,891
Language:
TypeScript
Stars:
1,269
Forks:
168
Description:
A browser-based desktop where AI Agent operates every app through natural language.
better-auth/better-hub10,896
Language:
TypeScript
Stars:
1,268
Forks:
101
Description:
Re-imagining code collaboration for humans and agents.
tembo/tembo10,897
Stars:
1,268
Forks:
46
Storia-AI/sage10,908
Language:
Python
Stars:
1,265
Forks:
116
Description:
Chat with any codebase in under two minutes | Fully local or via third-party APIs.
mbrg/power-pwn10,928
Language:
Python
Stars:
1,260
Forks:
134
Description:
An offensive/defense security toolset for discovery, recon and ethical assessment of AI Agents.
GoGoDuck912/Self-Correction-Human-Parsing10,929
Language:
Jupyter Notebook
Stars:
1,259
Forks:
265
Description:
An out-of-box human parsing representation extractor.
Yujun-Shi/DragDiffusion10,930
Language:
Python
Stars:
1,259
Forks:
95
Description:
[CVPR2024, Highlight] Official code for DragDiffusion.
lmbelo/pyscripter10,940
Language:
Pascal
Stars:
1,256
Forks:
330
Description:
Pyscripter is a feature-rich but lightweight Python IDE.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageC
CategoryApplications
SubcategoryOther
KeywordsLocalAI
Stars1,260
Forks428
Contributors0
Created date2017-12-13
Updated date2026-10-10
Stars in 1 day0
Stars in 7 days1
Rank10,927
Previous rank10,895
Rank change-32
7-day stars rank10,006
Previous 7-day stars rank10,055
7-day stars rank change49
Total stars rank9,317
Previous total stars rank9,305
Total stars rank change-12
CountryUK
README summary

Keyword spotting for Microcontrollers This repository consists of the tensorflow models and training scripts used in the paper: Hello Edge: Keyword spotting on Microcontrollers. The scripts are adapted from Tensorflow examples and some are repeated here for the sake of making these scripts self-contained. py, which builds the tensorflow graph based on the provided model architecture and layer dimensions. For more info on *model_size_info* for each network architecture see models. The training commands with all the hyperparameters

to reproduce the models shown in the paper are given here. To run inference on the trained model from a checkpoint on train/val/test set, run: To freeze the trained model checkpoint into a . pb file, run: Pretrained models Trained models (. pb files) for different neural network architectures such as DNN, CNN, Basic LSTM, LSTM, GRU, CRNN and DS-CNN shown in this arXiv paper are added in Pretrained_models. Accuracy of the models on validation set, their memory

requirements and operations per inference are also summarized in the following table. To run an audio file through the trained model (e. a DNN) and get top prediction, run: Quantization Guide and Deployment on Microcontrollers A quick guide on quantizing the KWS neural network models is here. The example code for running a DNN model on a Cortex-M development board is also provided here.

Frequently asked questions

How many stars and forks are recorded?

ARM-software/ML-KWS-for-MCU has 1,260 stars and 428 forks.

What is the repository rank?

ARM-software/ML-KWS-for-MCU is ranked 10,927.

What language and category are recorded?

ARM-software/ML-KWS-for-MCU has 1,260 stars, uses C and belongs to Applications.

Which repository is closest in rank?

ARM-software/ML-KWS-for-MCU is compared with mbrg/power-pwn, ranked 10,928 with 1,260 stars.

README

Keyword spotting for Microcontrollers

This repository consists of the tensorflow models and training scripts used in the paper: Hello Edge: Keyword spotting on Microcontrollers. The scripts are adapted from Tensorflow examples and some are repeated here for the sake of making these scripts self-contained.

To train a DNN with 3 fully-connected layers with 128 neurons in each layer, run:

python train.py --model_architecture dnn --model_size_info 128 128 128 

The command line argument --model_size_info is used to pass the neural network layer dimensions such as number of layers, convolution filter size/stride as a list to models.py, which builds the tensorflow graph based on the provided model architecture and layer dimensions. For more info on model_size_info for each network architecture see models.py. The training commands with all the hyperparameters to reproduce the models shown in the paper are given here.

To run inference on the trained model from a checkpoint on train/val/test set, run:

python test.py --model_architecture dnn --model_size_info 128 128 128 --checkpoint 

To freeze the trained model checkpoint into a .pb file, run:

python freeze.py --model_architecture dnn --model_size_info 128 128 128 --checkpoint 
 --output_file dnn.pb

Pretrained models

Trained models (.pb files) for different neural network architectures such as DNN, CNN, Basic LSTM, LSTM, GRU, CRNN and DS-CNN shown in this arXiv paper are added in Pretrained_models. Accuracy of the models on validation set, their memory requirements and operations per inference are also summarized in the following table.

To run an audio file through the trained model (e.g. a DNN) and get top prediction, run:

python label_wav.py --wav  --graph Pretrained_models/DNN/DNN_S.pb 
--labels Pretrained_models/labels.txt --how_many_labels 1

Quantization Guide and Deployment on Microcontrollers

A quick guide on quantizing the KWS neural network models is here. The example code for running a DNN model on a Cortex-M development board is also provided here.

Nearby in the ranking
Similar items