Upload folder using huggingface_hub
Browse files- README.md +58 -0
- baseline.onnx +3 -0
- dpdfnet2.onnx +3 -0
- dpdfnet2_48khz_hr.onnx +3 -0
- dpdfnet2_8khz.onnx +3 -0
- dpdfnet4.onnx +3 -0
- dpdfnet8.onnx +3 -0
- dpdfnet8_48khz_hr.onnx +3 -0
- dpdfnet8_8khz.onnx +3 -0
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: audiosronnx
|
| 4 |
+
pipeline_tag: audio-to-audio
|
| 5 |
+
tags:
|
| 6 |
+
- speech-enhancement
|
| 7 |
+
- denoising
|
| 8 |
+
- noise-suppression
|
| 9 |
+
- streaming
|
| 10 |
+
- onnx
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# audiosronnx-dpdfnet
|
| 14 |
+
|
| 15 |
+
ONNX weights for the **`dpdfnet`** denoise engine in
|
| 16 |
+
[audiosronnx](https://github.com/TigreGotico/audiosronnx) — a mirror of
|
| 17 |
+
[Ceva-IP/DPDFNet](https://huggingface.co/Ceva-IP/DPDFNet) (Apache-2.0), pinned so the
|
| 18 |
+
library can resolve a fixed revision.
|
| 19 |
+
|
| 20 |
+
DPDFNet (*Dual-Path RNN-based DeepFilterNet*) is a streaming speech denoiser built on
|
| 21 |
+
DeepFilterNet2. Each graph is stateful and consumes one STFT frame at a time:
|
| 22 |
+
|
| 23 |
+
```
|
| 24 |
+
spec[1, 1, F, 2], state[S] -> spec_e[1, 1, F, 2], state[S]
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
The Vorbis-windowed STFT/ISTFT runs in numpy inside audiosronnx, so inference is
|
| 28 |
+
onnxruntime-only — no torch, and no `libdf` (unlike the DeepFilterNet3 engine).
|
| 29 |
+
|
| 30 |
+
| File | Rate | Size |
|
| 31 |
+
|------|------|------|
|
| 32 |
+
| `baseline.onnx` | 16 kHz | 8.7 MB |
|
| 33 |
+
| `dpdfnet2.onnx` | 16 kHz | 10.2 MB |
|
| 34 |
+
| `dpdfnet4.onnx` | 16 kHz | 11.6 MB |
|
| 35 |
+
| `dpdfnet8.onnx` | 16 kHz | 14.5 MB |
|
| 36 |
+
| `dpdfnet2_8khz.onnx` | 8 kHz | 10.2 MB |
|
| 37 |
+
| `dpdfnet8_8khz.onnx` | 8 kHz | 14.6 MB |
|
| 38 |
+
| `dpdfnet2_48khz_hr.onnx` | 48 kHz | 10.5 MB |
|
| 39 |
+
| `dpdfnet8_48khz_hr.onnx` | 48 kHz | 14.9 MB |
|
| 40 |
+
|
| 41 |
+
The adapter reproduces the upstream reference implementation to **max abs err 1.7e-8**
|
| 42 |
+
(correlation 1.000000) on identical input.
|
| 43 |
+
|
| 44 |
+
## Usage
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
from audiosronnx import load_denoise
|
| 48 |
+
|
| 49 |
+
dn = load_denoise("dpdfnet") # dpdfnet2_48khz by default
|
| 50 |
+
clean, rate = dn.denoise("noisy_call.wav")
|
| 51 |
+
|
| 52 |
+
dn = load_denoise("dpdfnet", model="dpdfnet8") # 16 kHz, highest quality
|
| 53 |
+
dn = load_denoise("dpdfnet", attn_limit_db=12) # keep a natural noise floor
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
## License
|
| 57 |
+
|
| 58 |
+
Apache-2.0, inherited from the upstream DPDFNet release.
|
baseline.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:371d26182aff0e1e0d31354e24c81f79cd57458f5a7dd003fc10a7ebf64255e0
|
| 3 |
+
size 8722707
|
dpdfnet2.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f0ee28935b4a32abecc717d745416976565834d839601acf43031094b4dc94c
|
| 3 |
+
size 10178747
|
dpdfnet2_48khz_hr.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f0575a5cec0ba4ffd8f8bd657e06d007e4ccdd955d76faab922b9d3291dc14b
|
| 3 |
+
size 10493337
|
dpdfnet2_8khz.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6218f1dbd6e4bac5768c63b7d899fe7b84b3788f2a35c4e246d4ab0946165c5d
|
| 3 |
+
size 10188357
|
dpdfnet4.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42a386d3601922f474c4309927e1f471cce422e9bd8e3fd3967bb943bac36c01
|
| 3 |
+
size 11633337
|
dpdfnet8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:899d4f23f3ff86edbffa8c537e4bcbdc49da1b4e84e0ef390611e0604a3b26cb
|
| 3 |
+
size 14542517
|
dpdfnet8_48khz_hr.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b3afbb260a08fe9af3d16e3bda992971be1e7e951d1dee7c2d235f5c43f5631
|
| 3 |
+
size 14857107
|
dpdfnet8_8khz.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c061bcc56b803fa2fa97d448a45db6d966f7d17aff1304e464455d748745ea62
|
| 3 |
+
size 14552127
|