Update README.md
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ tags:
|
|
5 |
- audio-to-audio
|
6 |
language: en
|
7 |
datasets:
|
8 |
-
-
|
9 |
license: cc-by-4.0
|
10 |
---
|
11 |
|
@@ -13,22 +13,69 @@ license: cc-by-4.0
|
|
13 |
|
14 |
### `wyz/vctk_bsrnn_large_double_noncausal`
|
15 |
|
16 |
-
This model was trained by
|
17 |
|
18 |
### Demo: How to use in ESPnet2
|
19 |
|
20 |
Follow the [ESPnet installation instructions](https://espnet.github.io/espnet/installation.html)
|
21 |
if you haven't done that already.
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
```
|
30 |
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
## ENH config
|
34 |
|
|
|
5 |
- audio-to-audio
|
6 |
language: en
|
7 |
datasets:
|
8 |
+
- VCTK_DEMAND
|
9 |
license: cc-by-4.0
|
10 |
---
|
11 |
|
|
|
13 |
|
14 |
### `wyz/vctk_bsrnn_large_double_noncausal`
|
15 |
|
16 |
+
This model was trained by wyz based on the universal_se_v1 recipe in [espnet](https://github.com/espnet/espnet/).
|
17 |
|
18 |
### Demo: How to use in ESPnet2
|
19 |
|
20 |
Follow the [ESPnet installation instructions](https://espnet.github.io/espnet/installation.html)
|
21 |
if you haven't done that already.
|
22 |
|
23 |
+
To use the model in the Python interface, you could use the following code:
|
24 |
+
|
25 |
+
```python
|
26 |
+
import soundfile as sf
|
27 |
+
from espnet2.bin.enh_inference import SeparateSpeech
|
28 |
+
|
29 |
+
# For model downloading + loading
|
30 |
+
model = SeparateSpeech.from_pretrained(
|
31 |
+
model_tag="wyz/vctk_bsrnn_large_double_noncausal",
|
32 |
+
normalize_output_wav=True,
|
33 |
+
device="cuda",
|
34 |
+
)
|
35 |
+
# For loading a downloaded model
|
36 |
+
# model = SeparateSpeech(
|
37 |
+
# train_config="exp_vctk/enh_train_enh_bsrnn_large_double_noncausal_raw/config.yaml",
|
38 |
+
# model_file="exp_vctk/enh_train_enh_bsrnn_large_double_noncausal_raw/xxxx.pth",
|
39 |
+
# normalize_output_wav=True,
|
40 |
+
# device="cuda",
|
41 |
+
# )
|
42 |
+
|
43 |
+
audio, fs = sf.read("/path/to/noisy/utt1.flac")
|
44 |
+
enhanced = model(audio[None, :], fs=fs)[0]
|
45 |
```
|
46 |
|
47 |
|
48 |
+
<!-- Generated by ./scripts/utils/show_enh_score.sh -->
|
49 |
+
# RESULTS
|
50 |
+
## Environments
|
51 |
+
- date: `Wed Feb 28 01:32:14 EST 2024`
|
52 |
+
- python version: `3.8.16 (default, Mar 2 2023, 03:21:46) [GCC 11.2.0]`
|
53 |
+
- espnet version: `espnet 202304`
|
54 |
+
- pytorch version: `pytorch 2.0.1+cu118`
|
55 |
+
- Git hash: `443028662106472c60fe8bd892cb277e5b488651`
|
56 |
+
- Commit date: `Thu May 11 03:32:59 2023 +0000`
|
57 |
+
|
58 |
+
|
59 |
+
## enhanced_test_16k
|
60 |
+
|
61 |
+
|
62 |
+
|dataset|PESQ_WB|STOI|SAR|SDR|SIR|SI_SNR|OVRL|SIG|BAK|P808_MOS|
|
63 |
+
|---|---|---|---|---|---|---|---|---|---|---|
|
64 |
+
|chime4_et05_real_isolated_6ch_track|1.13|51.08|-3.04|-3.04|0.00|-31.26|2.86|3.21|3.77|3.48|
|
65 |
+
|chime4_et05_simu_isolated_6ch_track|1.28|75.86|6.61|6.61|0.00|0.60|2.75|3.07|3.80|3.17|
|
66 |
+
|dns20_tt_synthetic_no_reverb|2.56|95.64|15.96|15.96|0.00|15.27|3.26|3.56|4.01|3.91|
|
67 |
+
|reverb_et_real_8ch_multich|1.08|45.15|1.67|1.67|0.00|-2.75|2.30|2.62|3.57|3.01|
|
68 |
+
|reverb_et_simu_8ch_multich|1.66|77.85|8.05|8.05|0.00|-12.78|2.87|3.18|3.82|3.51|
|
69 |
+
|whamr_tt_mix_single_reverb_max_16k|1.36|78.73|5.96|5.96|0.00|1.37|2.77|3.09|3.83|3.45|
|
70 |
+
|
71 |
+
|
72 |
+
## enhanced_test_48k
|
73 |
+
|
74 |
+
|
75 |
+
|dataset|STOI|SAR|SDR|SIR|SI_SNR|OVRL|SIG|BAK|P808_MOS|
|
76 |
+
|---|---|---|---|---|---|---|---|---|---|
|
77 |
+
|vctk_noisy_tt_2spk|95.31|20.21|20.21|0.00|19.23|3.15|3.45|3.99|3.52|
|
78 |
+
|
79 |
|
80 |
## ENH config
|
81 |
|