Audio-to-Audio
ESPnet
English
audio
Yoshiki commited on
Commit
f877fc4
1 Parent(s): 7e5db6b

Update model

Browse files
README.md ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - espnet
4
+ - audio
5
+ - audio-to-audio
6
+ language: en
7
+ datasets:
8
+ - dns_icassp21
9
+ license: cc-by-4.0
10
+ ---
11
+
12
+ ## ESPnet2 ENH model
13
+
14
+ ### `espnet/dns_icassp21_enh_train_enh_tcn_tf_raw`
15
+
16
+ This model was trained by Yoshiki using dns_icassp21 recipe in [espnet](https://github.com/espnet/espnet/).
17
+
18
+ ### Demo: How to use in ESPnet2
19
+
20
+ ```bash
21
+ cd espnet
22
+
23
+ pip install -e .
24
+ cd egs2/dns_icassp21/enh1
25
+ ./run.sh --skip_data_prep false --skip_train true --download_model espnet/dns_icassp21_enh_train_enh_tcn_tf_raw
26
+ ```
27
+
28
+ <!-- Generated by ./scripts/utils/show_enh_score.sh -->
29
+ # RESULTS
30
+ ## Environments
31
+ - date: `Thu Apr 21 21:49:46 UTC 2022`
32
+ - python version: `3.7.4 (default, Aug 13 2019, 20:35:49) [GCC 7.3.0]`
33
+ - espnet version: `espnet 202204`
34
+ - pytorch version: `pytorch 1.10.1+cu111`
35
+ - Git hash: ``
36
+ - Commit date: ``
37
+
38
+
39
+ ## ..
40
+
41
+ config: ./conf/train.yaml
42
+
43
+ |dataset|STOI|SAR|SDR|SIR|SI_SNR|
44
+ |---|---|---|---|---|---|
45
+ |enhanced_cv_synthetic|0.93|18.96|18.96|0.00|18.79|
46
+ |enhanced_tt_synthetic_track_1|0.77|14.19|14.19|0.00|12.15|
47
+
48
+ ## ENH config
49
+
50
+ <details><summary>expand</summary>
51
+
52
+ ```
53
+ config: ./conf/train.yaml
54
+ print_config: false
55
+ log_level: INFO
56
+ dry_run: false
57
+ iterator_type: sequence
58
+ output_dir: exp/enh_train_raw
59
+ ngpu: 1
60
+ seed: 0
61
+ num_workers: 4
62
+ num_att_plot: 3
63
+ dist_backend: nccl
64
+ dist_init_method: env://
65
+ dist_world_size: 4
66
+ dist_rank: 0
67
+ local_rank: 0
68
+ dist_master_addr: localhost
69
+ dist_master_port: 32787
70
+ dist_launcher: null
71
+ multiprocessing_distributed: true
72
+ unused_parameters: false
73
+ sharded_ddp: false
74
+ cudnn_enabled: true
75
+ cudnn_benchmark: false
76
+ cudnn_deterministic: true
77
+ collect_stats: false
78
+ write_collected_feats: false
79
+ max_epoch: 100
80
+ patience: 10
81
+ val_scheduler_criterion:
82
+ - valid
83
+ - loss
84
+ early_stopping_criterion:
85
+ - valid
86
+ - loss
87
+ - min
88
+ best_model_criterion:
89
+ - - valid
90
+ - si_snr
91
+ - max
92
+ - - valid
93
+ - loss
94
+ - min
95
+ keep_nbest_models: 1
96
+ nbest_averaging_interval: 0
97
+ grad_clip: 5.0
98
+ grad_clip_type: 2.0
99
+ grad_noise: false
100
+ accum_grad: 1
101
+ no_forward_run: false
102
+ resume: true
103
+ train_dtype: float32
104
+ use_amp: false
105
+ log_interval: null
106
+ use_matplotlib: true
107
+ use_tensorboard: true
108
+ use_wandb: false
109
+ wandb_project: null
110
+ wandb_id: null
111
+ wandb_entity: null
112
+ wandb_name: null
113
+ wandb_model_log_interval: -1
114
+ detect_anomaly: false
115
+ pretrain_path: null
116
+ init_param: []
117
+ ignore_init_mismatch: false
118
+ freeze_param: []
119
+ num_iters_per_epoch: null
120
+ batch_size: 128
121
+ valid_batch_size: null
122
+ batch_bins: 1000000
123
+ valid_batch_bins: null
124
+ train_shape_file:
125
+ - exp/enh_stats_16k/train/speech_mix_shape
126
+ - exp/enh_stats_16k/train/speech_ref1_shape
127
+ valid_shape_file:
128
+ - exp/enh_stats_16k/valid/speech_mix_shape
129
+ - exp/enh_stats_16k/valid/speech_ref1_shape
130
+ batch_type: folded
131
+ valid_batch_type: null
132
+ fold_length:
133
+ - 80000
134
+ - 80000
135
+ sort_in_batch: descending
136
+ sort_batch: descending
137
+ multiple_iterator: false
138
+ chunk_length: 500
139
+ chunk_shift_ratio: 0.5
140
+ num_cache_chunks: 1024
141
+ train_data_path_and_name_and_type:
142
+ - - dump/raw/tr_synthetic/wav.scp
143
+ - speech_mix
144
+ - sound
145
+ - - dump/raw/tr_synthetic/spk1.scp
146
+ - speech_ref1
147
+ - sound
148
+ valid_data_path_and_name_and_type:
149
+ - - dump/raw/cv_synthetic/wav.scp
150
+ - speech_mix
151
+ - sound
152
+ - - dump/raw/cv_synthetic/spk1.scp
153
+ - speech_ref1
154
+ - sound
155
+ allow_variable_data_keys: false
156
+ max_cache_size: 0.0
157
+ max_cache_fd: 32
158
+ valid_max_cache_size: null
159
+ optim: adam
160
+ optim_conf:
161
+ lr: 0.001
162
+ eps: 1.0e-08
163
+ weight_decay: 1.0e-07
164
+ scheduler: reducelronplateau
165
+ scheduler_conf:
166
+ mode: min
167
+ factor: 0.7
168
+ patience: 1
169
+ init: xavier_uniform
170
+ model_conf:
171
+ stft_consistency: false
172
+ loss_type: mask_mse
173
+ mask_type: null
174
+ criterions:
175
+ - name: si_snr
176
+ conf:
177
+ eps: 1.0e-07
178
+ wrapper: pit
179
+ wrapper_conf:
180
+ weight: 1.0
181
+ independent_perm: true
182
+ use_preprocessor: false
183
+ encoder: stft
184
+ encoder_conf:
185
+ n_fft: 320
186
+ hop_length: 160
187
+ separator: tcn
188
+ separator_conf:
189
+ num_spk: 1
190
+ layer: 4
191
+ stack: 3
192
+ bottleneck_dim: 128
193
+ hidden_dim: 512
194
+ kernel: 3
195
+ causal: true
196
+ norm_type: gLN
197
+ nonlinear: relu
198
+ decoder: stft
199
+ decoder_conf:
200
+ n_fft: 320
201
+ hop_length: 160
202
+ required:
203
+ - output_dir
204
+ version: '202204'
205
+ distributed: true
206
+ ```
207
+
208
+ </details>
209
+
210
+
211
+
212
+ ### Citing ESPnet
213
+
214
+ ```BibTex
215
+ @inproceedings{watanabe2018espnet,
216
+ author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson Yalta and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai},
217
+ title={{ESPnet}: End-to-End Speech Processing Toolkit},
218
+ year={2018},
219
+ booktitle={Proceedings of Interspeech},
220
+ pages={2207--2211},
221
+ doi={10.21437/Interspeech.2018-1456},
222
+ url={http://dx.doi.org/10.21437/Interspeech.2018-1456}
223
+ }
224
+
225
+
226
+ @inproceedings{ESPnet-SE,
227
+ author = {Chenda Li and Jing Shi and Wangyou Zhang and Aswin Shanmugam Subramanian and Xuankai Chang and
228
+ Naoyuki Kamo and Moto Hira and Tomoki Hayashi and Christoph B{"{o}}ddeker and Zhuo Chen and Shinji Watanabe},
229
+ title = {ESPnet-SE: End-To-End Speech Enhancement and Separation Toolkit Designed for {ASR} Integration},
230
+ booktitle = {{IEEE} Spoken Language Technology Workshop, {SLT} 2021, Shenzhen, China, January 19-22, 2021},
231
+ pages = {785--792},
232
+ publisher = {{IEEE}},
233
+ year = {2021},
234
+ url = {https://doi.org/10.1109/SLT48900.2021.9383615},
235
+ doi = {10.1109/SLT48900.2021.9383615},
236
+ timestamp = {Mon, 12 Apr 2021 17:08:59 +0200},
237
+ biburl = {https://dblp.org/rec/conf/slt/Li0ZSCKHHBC021.bib},
238
+ bibsource = {dblp computer science bibliography, https://dblp.org}
239
+ }
240
+
241
+
242
+ ```
243
+
244
+ or arXiv:
245
+
246
+ ```bibtex
247
+ @misc{watanabe2018espnet,
248
+ title={ESPnet: End-to-End Speech Processing Toolkit},
249
+ author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson Yalta and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai},
250
+ year={2018},
251
+ eprint={1804.00015},
252
+ archivePrefix={arXiv},
253
+ primaryClass={cs.CL}
254
+ }
255
+ ```
exp/enh_stats_16k/train/feats_stats.npz ADDED
Binary file (778 Bytes). View file
 
exp/enh_train_raw/53epoch.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47b7401135abff7b761436573e5216ba9fdf8978d44d5a4ec7ef12bebfe144f2
3
+ size 6675681
exp/enh_train_raw/RESULTS.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- Generated by ./scripts/utils/show_enh_score.sh -->
2
+ # RESULTS
3
+ ## Environments
4
+ - date: `Thu Apr 21 21:49:46 UTC 2022`
5
+ - python version: `3.7.4 (default, Aug 13 2019, 20:35:49) [GCC 7.3.0]`
6
+ - espnet version: `espnet 202204`
7
+ - pytorch version: `pytorch 1.10.1+cu111`
8
+ - Git hash: ``
9
+ - Commit date: ``
10
+
11
+
12
+ ## ..
13
+
14
+ config: ./conf/train.yaml
15
+
16
+ |dataset|STOI|SAR|SDR|SIR|SI_SNR|
17
+ |---|---|---|---|---|---|
18
+ |enhanced_cv_synthetic|0.93|18.96|18.96|0.00|18.79|
19
+ |enhanced_tt_synthetic_track_1|0.77|14.19|14.19|0.00|12.15|
20
+
exp/enh_train_raw/config.yaml ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ config: ./conf/train.yaml
2
+ print_config: false
3
+ log_level: INFO
4
+ dry_run: false
5
+ iterator_type: sequence
6
+ output_dir: exp/enh_train_raw
7
+ ngpu: 1
8
+ seed: 0
9
+ num_workers: 4
10
+ num_att_plot: 3
11
+ dist_backend: nccl
12
+ dist_init_method: env://
13
+ dist_world_size: 4
14
+ dist_rank: 0
15
+ local_rank: 0
16
+ dist_master_addr: localhost
17
+ dist_master_port: 32787
18
+ dist_launcher: null
19
+ multiprocessing_distributed: true
20
+ unused_parameters: false
21
+ sharded_ddp: false
22
+ cudnn_enabled: true
23
+ cudnn_benchmark: false
24
+ cudnn_deterministic: true
25
+ collect_stats: false
26
+ write_collected_feats: false
27
+ max_epoch: 100
28
+ patience: 10
29
+ val_scheduler_criterion:
30
+ - valid
31
+ - loss
32
+ early_stopping_criterion:
33
+ - valid
34
+ - loss
35
+ - min
36
+ best_model_criterion:
37
+ - - valid
38
+ - si_snr
39
+ - max
40
+ - - valid
41
+ - loss
42
+ - min
43
+ keep_nbest_models: 1
44
+ nbest_averaging_interval: 0
45
+ grad_clip: 5.0
46
+ grad_clip_type: 2.0
47
+ grad_noise: false
48
+ accum_grad: 1
49
+ no_forward_run: false
50
+ resume: true
51
+ train_dtype: float32
52
+ use_amp: false
53
+ log_interval: null
54
+ use_matplotlib: true
55
+ use_tensorboard: true
56
+ use_wandb: false
57
+ wandb_project: null
58
+ wandb_id: null
59
+ wandb_entity: null
60
+ wandb_name: null
61
+ wandb_model_log_interval: -1
62
+ detect_anomaly: false
63
+ pretrain_path: null
64
+ init_param: []
65
+ ignore_init_mismatch: false
66
+ freeze_param: []
67
+ num_iters_per_epoch: null
68
+ batch_size: 128
69
+ valid_batch_size: null
70
+ batch_bins: 1000000
71
+ valid_batch_bins: null
72
+ train_shape_file:
73
+ - exp/enh_stats_16k/train/speech_mix_shape
74
+ - exp/enh_stats_16k/train/speech_ref1_shape
75
+ valid_shape_file:
76
+ - exp/enh_stats_16k/valid/speech_mix_shape
77
+ - exp/enh_stats_16k/valid/speech_ref1_shape
78
+ batch_type: folded
79
+ valid_batch_type: null
80
+ fold_length:
81
+ - 80000
82
+ - 80000
83
+ sort_in_batch: descending
84
+ sort_batch: descending
85
+ multiple_iterator: false
86
+ chunk_length: 500
87
+ chunk_shift_ratio: 0.5
88
+ num_cache_chunks: 1024
89
+ train_data_path_and_name_and_type:
90
+ - - dump/raw/tr_synthetic/wav.scp
91
+ - speech_mix
92
+ - sound
93
+ - - dump/raw/tr_synthetic/spk1.scp
94
+ - speech_ref1
95
+ - sound
96
+ valid_data_path_and_name_and_type:
97
+ - - dump/raw/cv_synthetic/wav.scp
98
+ - speech_mix
99
+ - sound
100
+ - - dump/raw/cv_synthetic/spk1.scp
101
+ - speech_ref1
102
+ - sound
103
+ allow_variable_data_keys: false
104
+ max_cache_size: 0.0
105
+ max_cache_fd: 32
106
+ valid_max_cache_size: null
107
+ optim: adam
108
+ optim_conf:
109
+ lr: 0.001
110
+ eps: 1.0e-08
111
+ weight_decay: 1.0e-07
112
+ scheduler: reducelronplateau
113
+ scheduler_conf:
114
+ mode: min
115
+ factor: 0.7
116
+ patience: 1
117
+ init: xavier_uniform
118
+ model_conf:
119
+ stft_consistency: false
120
+ loss_type: mask_mse
121
+ mask_type: null
122
+ criterions:
123
+ - name: si_snr
124
+ conf:
125
+ eps: 1.0e-07
126
+ wrapper: pit
127
+ wrapper_conf:
128
+ weight: 1.0
129
+ independent_perm: true
130
+ use_preprocessor: false
131
+ encoder: stft
132
+ encoder_conf:
133
+ n_fft: 320
134
+ hop_length: 160
135
+ separator: tcn
136
+ separator_conf:
137
+ num_spk: 1
138
+ layer: 4
139
+ stack: 3
140
+ bottleneck_dim: 128
141
+ hidden_dim: 512
142
+ kernel: 3
143
+ causal: true
144
+ norm_type: gLN
145
+ nonlinear: relu
146
+ decoder: stft
147
+ decoder_conf:
148
+ n_fft: 320
149
+ hop_length: 160
150
+ required:
151
+ - output_dir
152
+ version: '202204'
153
+ distributed: true
exp/enh_train_raw/images/backward_time.png ADDED
exp/enh_train_raw/images/forward_time.png ADDED
exp/enh_train_raw/images/gpu_max_cached_mem_GB.png ADDED
exp/enh_train_raw/images/iter_time.png ADDED
exp/enh_train_raw/images/loss.png ADDED
exp/enh_train_raw/images/optim0_lr0.png ADDED
exp/enh_train_raw/images/optim_step_time.png ADDED
exp/enh_train_raw/images/si_snr_loss.png ADDED
exp/enh_train_raw/images/train_time.png ADDED
meta.yaml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ espnet: '202204'
2
+ files:
3
+ model_file: exp/enh_train_raw/53epoch.pth
4
+ python: "3.7.4 (default, Aug 13 2019, 20:35:49) \n[GCC 7.3.0]"
5
+ timestamp: 1650738852.952602
6
+ torch: 1.10.1+cu111
7
+ yaml_files:
8
+ train_config: exp/enh_train_raw/config.yaml