danielr-ceva commited on
Commit
c30c618
·
verified ·
1 Parent(s): ee27b85

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +120 -3
README.md CHANGED
@@ -1,3 +1,120 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```yaml
2
+ ---
3
+ license: apache-2.0
4
+ pipeline_tag: audio-to-audio
5
+ tags:
6
+ - speech_enhancement
7
+ - noise_suppression
8
+ - real_time
9
+ ---
10
+ ```
11
+
12
+ # DPDFNet: Boosting DeepFilterNet2 via Dual-Path RNN
13
+
14
+ DPDFNet is a family of causal, single-channel speech enhancement models for real-time noise suppression in challenging everyday environments. It extends the DeepFilterNet2 enhancement framework by inserting Dual-Path RNN (DPRNN) blocks into the encoder, strengthening long-range temporal and cross-band modeling while preserving a compact, streaming-friendly design.
15
+
16
+ This repository provides four TensorFlow Lite (TFLite) models optimized for mobile and edge deployment:
17
+
18
+ * `baseline.tflite`
19
+ * `dpdfnet2.tflite`
20
+ * `dpdfnet4.tflite`
21
+ * `dpdfnet8.tflite`
22
+
23
+ ---
24
+
25
+ ## Key Features
26
+
27
+ * Causal and low-latency: Designed for streaming use cases such as telephony, conferencing, and embedded devices.
28
+ * Dual-Path RNN integration: Improves temporal context and frequency-domain interactions for more robust enhancement in difficult noise conditions.
29
+ * Scalable family: Choose baseline or dpdfnet2/4/8 to balance quality vs. compute.
30
+ * Edge deployment focus: Demonstrated on Ceva NeuPro Nano NPUs in the accompanying work.
31
+
32
+ ---
33
+
34
+ ## Model Variants and Footprint
35
+
36
+ | Model | Params [M] | MACs [G] | TFLite Size [MB] |
37
+ | --------- | ---------: | -------: | ---------------: |
38
+ | Baseline | 2.31 | 0.36 | 8.5 |
39
+ | DPDFNet-2 | 2.49 | 1.35 | 10.7 |
40
+ | DPDFNet-4 | 2.84 | 2.36 | 12.9 |
41
+ | DPDFNet-8 | 3.54 | 4.37 | 17.2 |
42
+
43
+ ---
44
+
45
+ ## Intended Use
46
+
47
+ Primary task: Real-time, single-channel speech enhancement (noise suppression).
48
+
49
+ Deployment targets: Mobile devices, embedded NPUs, and edge platforms.
50
+
51
+ Input and Output:
52
+
53
+ * Input: 16 kHz mono noisy speech waveform
54
+ * Output: 16 kHz mono enhanced speech waveform
55
+
56
+ Typical applications:
57
+
58
+ * Voice calls and VoIP
59
+ * Video conferencing
60
+ * Always-on voice interfaces
61
+ * Wearables, earbuds, and embedded audio devices
62
+
63
+ ---
64
+
65
+ ## Inference
66
+
67
+ This repo includes a reference script for running the TFLite models on WAV files using streaming-style, frame-by-frame inference: `enhance.py`.
68
+
69
+ ### Setup
70
+
71
+ Install dependencies:
72
+
73
+ ```bash
74
+ pip install numpy soundfile librosa tqdm
75
+ pip install tflite-runtime
76
+ ```
77
+
78
+ ### Model placement
79
+
80
+ By default, the script loads models from:
81
+
82
+ * `./model_zoo/tflite/<model_name>.tflite`
83
+
84
+ Create the folder and place the `.tflite` files there (or edit `TFLITE_DIR` in the script to match your layout).
85
+
86
+ ### Run enhancement on a folder of WAVs
87
+
88
+ The script processes `*.wav` files non-recursively and writes enhanced outputs as 16-bit PCM WAVs:
89
+
90
+ ```bash
91
+ python enhance.py --noisy_dir /path/to/noisy_wavs --enhanced_dir /path/to/out --model_name dpdfnet8
92
+ ```
93
+
94
+ Available `--model_name` options: `baseline`, `dpdfnet2`, `dpdfnet4`, `dpdfnet8`.
95
+
96
+ ---
97
+
98
+ ## Training Data
99
+
100
+ The models were trained using a mixture of public speech and noise datasets, including DNS4 (downsampled), MLS, MUSAN, and FSD50K.
101
+
102
+ ---
103
+
104
+ ## Citation
105
+
106
+ If you use these models, please cite:
107
+
108
+ ```bibtex
109
+ @article{rika2025dpdfnet,
110
+ title = {DPDFNet: Boosting DeepFilterNet2 via Dual-Path RNN},
111
+ author = {Rika, Daniel and Sapir, Nino and Gus, Ido},
112
+ year = {2025}
113
+ }
114
+ ```
115
+
116
+ ---
117
+
118
+ ## License
119
+
120
+ Apache-2.0