Downloads · 30 days
13
13% of all-time downloads
AXERA-TECH/Lightweight-Speech-Denoising.axera
Lightweight-Speech-Denoising.axera is a audio-to-audio model from AXERA-TECH. Use it for the audio-to-audio task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This project provides lightweight speech enhancement (denoising) models optimized for Axera NPU platforms, combining the DSP framework of RNNoise and the model architecture of GTCRN.
Downloads · 30 days
13
13% of all-time downloads
All-time downloads
101
Public
Repo size
9 MB
Likes
0
Public
Click a slice to open those files.
.axmodel8.7 MB · 95%
From the Hugging Face model README
This project provides lightweight speech enhancement (denoising) models optimized for Axera NPU platforms, combining the DSP framework of RNNoise and the model architecture of GTCRN.
tiny_v5 and conv_se are pure convolutional models with very few operator types; tiny_v5 supports quantization on the operator-limited AX525 platform.For those interested in model conversion, refer to:
Directory layout on device:
root@ax650:~# tree Lightweight-Speech-Denoising.axera
Lightweight-Speech-Denoising.axera
├── README.md
├── axmodels
│ ├── ax525_tiny_v5_setrain.axmodel
│ ├── ax620E_conv_se_setrain.axmodel
│ ├── ax620E_gtcrn_setrain.axmodel
│ ├── ax620E_tiny_v5_setrain.axmodel
│ ├── ax620L_conv_se_setrain.axmodel
│ ├── ax620L_gtcrn_setrain.axmodel
│ ├── ax620L_tiny_v5_setrain.axmodel
│ ├── ax637_conv_se_setrain.axmodel
│ ├── ax637_gtcrn_setrain.axmodel
│ ├── ax637_tiny_v5_setrain.axmodel
│ ├── ax630c_conv_se_setrain.axmodel
│ ├── ax630c_gtcrn_setrain.axmodel
│ ├── ax630c_tiny_v5_setrain.axmodel
│ ├── ax650_conv_se_setrain.axmodel
│ ├── ax650_gtcrn_setrain.axmodel
│ └── ax650_tiny_v5_setrain.axmodel
├── build_ax620q
│ └── test_se_denoise_ax
├── build_ax630c
│ └── test_se_denoise_ax
├── build_ax650
│ └── test_se_denoise_ax
├── models
│ ├── conv_se_ax650_config.ini
│ ├── gtcrn_7input_ax650_config.ini
│ ├── tiny_v5_ax650_config.ini
│ └── ...
├── run_ax620q_all.sh
├── run_ax630c_all.sh
├── run_ax650_all.sh
└── test_wavs
└── mix.wav
Download all files from this repository to the device, then run the corresponding script for your platform:
# AX650
sh run_ax650_all.sh
# AX630C
sh run_ax630c_all.sh
# AX620Q
sh run_ax620q_all.sh
Output .wav files will be saved to output/<platform>_all/.
tiny_v5
| Platform | Avg Infer (ms) | RTF | Realtime Speedup |
|---|---|---|---|
| AX650 | 0.160 | 0.0117 | 85.3x |
| AX630C | 0.587 | 0.0232 | 43.1x |
| AX620Q | 0.736 | 0.0332 | 30.1x |
| AX620L | TBD | TBD | TBD |
| AX637 | TBD | TBD | TBD |
| AX525 | TBD | TBD | TBD |
conv_se
| Platform | Avg Infer (ms) | RTF | Realtime Speedup |
|---|---|---|---|
| AX650 | 1.963 | 0.0365 | 27.4x |
| AX630C | 7.803 | 0.1092 | 9.2x |
| AX620Q | 14.938 | 0.1970 | 5.1x |
| AX620L | TBD | TBD | TBD |
| AX637 | TBD | TBD | TBD |
GTCRN
| Platform | Avg Infer (ms) | RTF | Realtime Speedup |
|---|---|---|---|
| AX650 | 2.766 | 0.1756 | 5.7x |
| AX630C | 2.835 | 0.1820 | 5.5x |
| AX620Q | 3.535 | 0.2295 | 4.4x |
| AX620L | TBD | TBD | TBD |
| AX637 | TBD | TBD | TBD |
Test audio:
mix.wav, duration 9.77s, 16kHz mono.
RNNoise — Mozilla open-source DSP + RNN noise suppression framework; STFT/iSTFT and kiss_fft implementation reused in this project. https://github.com/xiph/rnnoise
GTCRN — Lightweight Gated Temporal Convolutional Recurrent Network for speech enhancement. https://github.com/Xiaobin-Rong/gtcrn