JinchuanTian
commited on
Commit
•
b463df5
1
Parent(s):
05317ae
Update model
Browse files- README.md +318 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/120epoch.pth +3 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/config.yaml +243 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/adv_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/codec_commit_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/codec_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/codec_quantization_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_backward_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_forward_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_optim_step_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_train_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/fake_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/feat_match_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/generator_backward_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/generator_forward_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/generator_optim_step_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/generator_train_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/gpu_max_cached_mem_GB.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/iter_time.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/mel_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/mel_loss_real.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/optim0_lr0.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/optim1_lr0.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/real_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/reconstruct_loss.png +0 -0
- exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/train_time.png +0 -0
- meta.yaml +8 -0
README.md
ADDED
@@ -0,0 +1,318 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- espnet
|
4 |
+
- audio
|
5 |
+
- codec
|
6 |
+
language: multilingual
|
7 |
+
datasets:
|
8 |
+
- amuse
|
9 |
+
license: cc-by-4.0
|
10 |
+
---
|
11 |
+
|
12 |
+
## ESPnet2 Codec model
|
13 |
+
|
14 |
+
### `espnet/amuse_encodec_16k`
|
15 |
+
|
16 |
+
This model was trained by Jinchuan using amuse 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 |
+
```bash
|
24 |
+
cd espnet
|
25 |
+
git checkout 1974048563d7c57e11f670d24bac8fb4b5aba4ef
|
26 |
+
pip install -e .
|
27 |
+
cd egs2/amuse/codec1
|
28 |
+
./run.sh --skip_data_prep false --skip_train true --download_model espnet/amuse_encodec_16k
|
29 |
+
```
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
## Codec config
|
34 |
+
|
35 |
+
<details><summary>expand</summary>
|
36 |
+
|
37 |
+
```
|
38 |
+
config: conf/train_encodec_fs16000.yaml
|
39 |
+
print_config: false
|
40 |
+
log_level: INFO
|
41 |
+
drop_last_iter: false
|
42 |
+
dry_run: false
|
43 |
+
iterator_type: chunk
|
44 |
+
valid_iterator_type: null
|
45 |
+
output_dir: exp_16k/codec_train_encodec_fs16000_raw_fs16000
|
46 |
+
ngpu: 1
|
47 |
+
seed: 777
|
48 |
+
num_workers: 1
|
49 |
+
num_att_plot: 0
|
50 |
+
dist_backend: nccl
|
51 |
+
dist_init_method: env://
|
52 |
+
dist_world_size: 4
|
53 |
+
dist_rank: 0
|
54 |
+
local_rank: 0
|
55 |
+
dist_master_addr: localhost
|
56 |
+
dist_master_port: 56447
|
57 |
+
dist_launcher: null
|
58 |
+
multiprocessing_distributed: true
|
59 |
+
unused_parameters: true
|
60 |
+
sharded_ddp: false
|
61 |
+
cudnn_enabled: true
|
62 |
+
cudnn_benchmark: false
|
63 |
+
cudnn_deterministic: false
|
64 |
+
use_tf32: true
|
65 |
+
collect_stats: false
|
66 |
+
write_collected_feats: false
|
67 |
+
max_epoch: 120
|
68 |
+
patience: null
|
69 |
+
val_scheduler_criterion:
|
70 |
+
- valid
|
71 |
+
- loss
|
72 |
+
early_stopping_criterion:
|
73 |
+
- valid
|
74 |
+
- loss
|
75 |
+
- min
|
76 |
+
best_model_criterion:
|
77 |
+
- - valid
|
78 |
+
- mel_loss
|
79 |
+
- min
|
80 |
+
- - train
|
81 |
+
- mel_loss
|
82 |
+
- min
|
83 |
+
- - train
|
84 |
+
- total_count
|
85 |
+
- max
|
86 |
+
keep_nbest_models: 5
|
87 |
+
nbest_averaging_interval: 0
|
88 |
+
grad_clip: -1
|
89 |
+
grad_clip_type: 2.0
|
90 |
+
grad_noise: false
|
91 |
+
accum_grad: 1
|
92 |
+
no_forward_run: false
|
93 |
+
resume: true
|
94 |
+
train_dtype: float32
|
95 |
+
use_amp: false
|
96 |
+
log_interval: 500
|
97 |
+
use_matplotlib: true
|
98 |
+
use_tensorboard: true
|
99 |
+
create_graph_in_tensorboard: false
|
100 |
+
use_wandb: false
|
101 |
+
wandb_project: null
|
102 |
+
wandb_id: null
|
103 |
+
wandb_entity: null
|
104 |
+
wandb_name: null
|
105 |
+
wandb_model_log_interval: -1
|
106 |
+
detect_anomaly: false
|
107 |
+
use_adapter: false
|
108 |
+
adapter: lora
|
109 |
+
save_strategy: all
|
110 |
+
adapter_conf: {}
|
111 |
+
pretrain_path: null
|
112 |
+
init_param: []
|
113 |
+
ignore_init_mismatch: false
|
114 |
+
freeze_param: []
|
115 |
+
num_iters_per_epoch: 5000
|
116 |
+
batch_size: 128
|
117 |
+
valid_batch_size: null
|
118 |
+
batch_bins: 1000000
|
119 |
+
valid_batch_bins: null
|
120 |
+
train_shape_file:
|
121 |
+
- exp_16k/codec_stats_raw/train/audio_shape
|
122 |
+
valid_shape_file:
|
123 |
+
- exp_16k/codec_stats_raw/valid/audio_shape
|
124 |
+
batch_type: unsorted
|
125 |
+
valid_batch_type: null
|
126 |
+
fold_length:
|
127 |
+
- 256000
|
128 |
+
sort_in_batch: descending
|
129 |
+
shuffle_within_batch: false
|
130 |
+
sort_batch: descending
|
131 |
+
multiple_iterator: false
|
132 |
+
chunk_length: 32000
|
133 |
+
chunk_shift_ratio: 0.5
|
134 |
+
num_cache_chunks: 128
|
135 |
+
chunk_excluded_key_prefixes: []
|
136 |
+
chunk_default_fs: null
|
137 |
+
train_data_path_and_name_and_type:
|
138 |
+
- - dump_16k/raw/train/wav.scp
|
139 |
+
- audio
|
140 |
+
- kaldi_ark
|
141 |
+
valid_data_path_and_name_and_type:
|
142 |
+
- - dump_16k/raw/dev-small/wav.scp
|
143 |
+
- audio
|
144 |
+
- kaldi_ark
|
145 |
+
multi_task_dataset: false
|
146 |
+
allow_variable_data_keys: false
|
147 |
+
max_cache_size: 0.0
|
148 |
+
max_cache_fd: 32
|
149 |
+
allow_multi_rates: false
|
150 |
+
valid_max_cache_size: null
|
151 |
+
exclude_weight_decay: false
|
152 |
+
exclude_weight_decay_conf: {}
|
153 |
+
optim: adam
|
154 |
+
optim_conf:
|
155 |
+
lr: 0.0002
|
156 |
+
betas:
|
157 |
+
- 0.5
|
158 |
+
- 0.9
|
159 |
+
eps: 1.0e-09
|
160 |
+
weight_decay: 0.0
|
161 |
+
scheduler: exponentiallr
|
162 |
+
scheduler_conf:
|
163 |
+
gamma: 0.999875
|
164 |
+
optim2: adam
|
165 |
+
optim2_conf:
|
166 |
+
lr: 0.0002
|
167 |
+
betas:
|
168 |
+
- 0.5
|
169 |
+
- 0.9
|
170 |
+
eps: 1.0e-09
|
171 |
+
weight_decay: 0.0
|
172 |
+
scheduler2: exponentiallr
|
173 |
+
scheduler2_conf:
|
174 |
+
gamma: 0.999875
|
175 |
+
generator_first: true
|
176 |
+
skip_discriminator_prob: 0.3
|
177 |
+
model_conf: {}
|
178 |
+
use_preprocessor: true
|
179 |
+
codec: encodec
|
180 |
+
codec_conf:
|
181 |
+
sampling_rate: 16000
|
182 |
+
generator_params:
|
183 |
+
hidden_dim: 512
|
184 |
+
encdec_channels: 1
|
185 |
+
encdec_n_filters: 32
|
186 |
+
encdec_n_residual_layers: 3
|
187 |
+
encdec_ratios:
|
188 |
+
- 8
|
189 |
+
- 5
|
190 |
+
- 4
|
191 |
+
- 2
|
192 |
+
encdec_activation: ELU
|
193 |
+
encdec_activation_params:
|
194 |
+
alpha: 1.0
|
195 |
+
encdec_norm: weight_norm
|
196 |
+
encdec_kernel_size: 7
|
197 |
+
encdec_residual_kernel_size: 7
|
198 |
+
encdec_last_kernel_size: 7
|
199 |
+
encdec_dilation_base: 2
|
200 |
+
encdec_causal: false
|
201 |
+
encdec_pad_mode: reflect
|
202 |
+
encdec_true_skip: false
|
203 |
+
encdec_compress: 2
|
204 |
+
encdec_lstm: 2
|
205 |
+
decoder_trim_right_ratio: 1.0
|
206 |
+
decoder_final_activation: null
|
207 |
+
decoder_final_activation_params: null
|
208 |
+
quantizer_n_q: 32
|
209 |
+
quantizer_bins: 1024
|
210 |
+
quantizer_decay: 0.99
|
211 |
+
quantizer_kmeans_init: true
|
212 |
+
quantizer_kmeans_iters: 50
|
213 |
+
quantizer_threshold_ema_dead_code: 2
|
214 |
+
quantizer_target_bandwidth:
|
215 |
+
- 2
|
216 |
+
- 4
|
217 |
+
- 8
|
218 |
+
- 16
|
219 |
+
- 32
|
220 |
+
sample_rate: 16000
|
221 |
+
discriminator_params:
|
222 |
+
msstft_discriminator_params:
|
223 |
+
filters: 32
|
224 |
+
in_channels: 1
|
225 |
+
out_channels: 1
|
226 |
+
norm: weight_norm
|
227 |
+
n_ffts:
|
228 |
+
- 1024
|
229 |
+
- 2048
|
230 |
+
- 512
|
231 |
+
- 256
|
232 |
+
- 128
|
233 |
+
hop_lengths:
|
234 |
+
- 256
|
235 |
+
- 512
|
236 |
+
- 128
|
237 |
+
- 64
|
238 |
+
- 32
|
239 |
+
win_lengths:
|
240 |
+
- 1024
|
241 |
+
- 2048
|
242 |
+
- 512
|
243 |
+
- 256
|
244 |
+
- 128
|
245 |
+
activation: LeakyReLU
|
246 |
+
activation_params:
|
247 |
+
negative_slope: 0.3
|
248 |
+
generator_adv_loss_params:
|
249 |
+
average_by_discriminators: false
|
250 |
+
loss_type: mse
|
251 |
+
discriminator_adv_loss_params:
|
252 |
+
average_by_discriminators: false
|
253 |
+
loss_type: mse
|
254 |
+
use_feat_match_loss: true
|
255 |
+
feat_match_loss_params:
|
256 |
+
average_by_discriminators: false
|
257 |
+
average_by_layers: false
|
258 |
+
include_final_outputs: true
|
259 |
+
use_mel_loss: true
|
260 |
+
mel_loss_params:
|
261 |
+
range_start: 6
|
262 |
+
range_end: 11
|
263 |
+
window: hann
|
264 |
+
n_mels: 80
|
265 |
+
fmin: 0
|
266 |
+
fmax: null
|
267 |
+
log_base: null
|
268 |
+
fs: 16000
|
269 |
+
lambda_quantization: 0.0
|
270 |
+
lambda_commit: 1.0
|
271 |
+
lambda_reconstruct: 1.0
|
272 |
+
lambda_adv: 1.0
|
273 |
+
lambda_mel: 45.0
|
274 |
+
lambda_feat_match: 2.0
|
275 |
+
cache_generator_outputs: true
|
276 |
+
use_loss_balancer: false
|
277 |
+
required:
|
278 |
+
- output_dir
|
279 |
+
version: '202402'
|
280 |
+
distributed: true
|
281 |
+
```
|
282 |
+
|
283 |
+
</details>
|
284 |
+
|
285 |
+
|
286 |
+
|
287 |
+
### Citing ESPnet
|
288 |
+
|
289 |
+
```BibTex
|
290 |
+
@inproceedings{watanabe2018espnet,
|
291 |
+
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},
|
292 |
+
title={{ESPnet}: End-to-End Speech Processing Toolkit},
|
293 |
+
year={2018},
|
294 |
+
booktitle={Proceedings of Interspeech},
|
295 |
+
pages={2207--2211},
|
296 |
+
doi={10.21437/Interspeech.2018-1456},
|
297 |
+
url={http://dx.doi.org/10.21437/Interspeech.2018-1456}
|
298 |
+
}
|
299 |
+
|
300 |
+
|
301 |
+
|
302 |
+
|
303 |
+
|
304 |
+
|
305 |
+
```
|
306 |
+
|
307 |
+
or arXiv:
|
308 |
+
|
309 |
+
```bibtex
|
310 |
+
@misc{watanabe2018espnet,
|
311 |
+
title={ESPnet: End-to-End Speech Processing Toolkit},
|
312 |
+
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},
|
313 |
+
year={2018},
|
314 |
+
eprint={1804.00015},
|
315 |
+
archivePrefix={arXiv},
|
316 |
+
primaryClass={cs.CL}
|
317 |
+
}
|
318 |
+
```
|
exp_16k/codec_train_encodec_fs16000_raw_fs16000/120epoch.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4fdd3c029cd95c17ab69860a5f17f6e9041bdaf9a6b5425ea351da3daa02ac36
|
3 |
+
size 215606502
|
exp_16k/codec_train_encodec_fs16000_raw_fs16000/config.yaml
ADDED
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config: conf/train_encodec_fs16000.yaml
|
2 |
+
print_config: false
|
3 |
+
log_level: INFO
|
4 |
+
drop_last_iter: false
|
5 |
+
dry_run: false
|
6 |
+
iterator_type: chunk
|
7 |
+
valid_iterator_type: null
|
8 |
+
output_dir: exp_16k/codec_train_encodec_fs16000_raw_fs16000
|
9 |
+
ngpu: 1
|
10 |
+
seed: 777
|
11 |
+
num_workers: 1
|
12 |
+
num_att_plot: 0
|
13 |
+
dist_backend: nccl
|
14 |
+
dist_init_method: env://
|
15 |
+
dist_world_size: 4
|
16 |
+
dist_rank: 0
|
17 |
+
local_rank: 0
|
18 |
+
dist_master_addr: localhost
|
19 |
+
dist_master_port: 56447
|
20 |
+
dist_launcher: null
|
21 |
+
multiprocessing_distributed: true
|
22 |
+
unused_parameters: true
|
23 |
+
sharded_ddp: false
|
24 |
+
cudnn_enabled: true
|
25 |
+
cudnn_benchmark: false
|
26 |
+
cudnn_deterministic: false
|
27 |
+
use_tf32: true
|
28 |
+
collect_stats: false
|
29 |
+
write_collected_feats: false
|
30 |
+
max_epoch: 120
|
31 |
+
patience: null
|
32 |
+
val_scheduler_criterion:
|
33 |
+
- valid
|
34 |
+
- loss
|
35 |
+
early_stopping_criterion:
|
36 |
+
- valid
|
37 |
+
- loss
|
38 |
+
- min
|
39 |
+
best_model_criterion:
|
40 |
+
- - valid
|
41 |
+
- mel_loss
|
42 |
+
- min
|
43 |
+
- - train
|
44 |
+
- mel_loss
|
45 |
+
- min
|
46 |
+
- - train
|
47 |
+
- total_count
|
48 |
+
- max
|
49 |
+
keep_nbest_models: 5
|
50 |
+
nbest_averaging_interval: 0
|
51 |
+
grad_clip: -1
|
52 |
+
grad_clip_type: 2.0
|
53 |
+
grad_noise: false
|
54 |
+
accum_grad: 1
|
55 |
+
no_forward_run: false
|
56 |
+
resume: true
|
57 |
+
train_dtype: float32
|
58 |
+
use_amp: false
|
59 |
+
log_interval: 500
|
60 |
+
use_matplotlib: true
|
61 |
+
use_tensorboard: true
|
62 |
+
create_graph_in_tensorboard: false
|
63 |
+
use_wandb: false
|
64 |
+
wandb_project: null
|
65 |
+
wandb_id: null
|
66 |
+
wandb_entity: null
|
67 |
+
wandb_name: null
|
68 |
+
wandb_model_log_interval: -1
|
69 |
+
detect_anomaly: false
|
70 |
+
use_adapter: false
|
71 |
+
adapter: lora
|
72 |
+
save_strategy: all
|
73 |
+
adapter_conf: {}
|
74 |
+
pretrain_path: null
|
75 |
+
init_param: []
|
76 |
+
ignore_init_mismatch: false
|
77 |
+
freeze_param: []
|
78 |
+
num_iters_per_epoch: 5000
|
79 |
+
batch_size: 128
|
80 |
+
valid_batch_size: null
|
81 |
+
batch_bins: 1000000
|
82 |
+
valid_batch_bins: null
|
83 |
+
train_shape_file:
|
84 |
+
- exp_16k/codec_stats_raw/train/audio_shape
|
85 |
+
valid_shape_file:
|
86 |
+
- exp_16k/codec_stats_raw/valid/audio_shape
|
87 |
+
batch_type: unsorted
|
88 |
+
valid_batch_type: null
|
89 |
+
fold_length:
|
90 |
+
- 256000
|
91 |
+
sort_in_batch: descending
|
92 |
+
shuffle_within_batch: false
|
93 |
+
sort_batch: descending
|
94 |
+
multiple_iterator: false
|
95 |
+
chunk_length: 32000
|
96 |
+
chunk_shift_ratio: 0.5
|
97 |
+
num_cache_chunks: 128
|
98 |
+
chunk_excluded_key_prefixes: []
|
99 |
+
chunk_default_fs: null
|
100 |
+
train_data_path_and_name_and_type:
|
101 |
+
- - dump_16k/raw/train/wav.scp
|
102 |
+
- audio
|
103 |
+
- kaldi_ark
|
104 |
+
valid_data_path_and_name_and_type:
|
105 |
+
- - dump_16k/raw/dev-small/wav.scp
|
106 |
+
- audio
|
107 |
+
- kaldi_ark
|
108 |
+
multi_task_dataset: false
|
109 |
+
allow_variable_data_keys: false
|
110 |
+
max_cache_size: 0.0
|
111 |
+
max_cache_fd: 32
|
112 |
+
allow_multi_rates: false
|
113 |
+
valid_max_cache_size: null
|
114 |
+
exclude_weight_decay: false
|
115 |
+
exclude_weight_decay_conf: {}
|
116 |
+
optim: adam
|
117 |
+
optim_conf:
|
118 |
+
lr: 0.0002
|
119 |
+
betas:
|
120 |
+
- 0.5
|
121 |
+
- 0.9
|
122 |
+
eps: 1.0e-09
|
123 |
+
weight_decay: 0.0
|
124 |
+
scheduler: exponentiallr
|
125 |
+
scheduler_conf:
|
126 |
+
gamma: 0.999875
|
127 |
+
optim2: adam
|
128 |
+
optim2_conf:
|
129 |
+
lr: 0.0002
|
130 |
+
betas:
|
131 |
+
- 0.5
|
132 |
+
- 0.9
|
133 |
+
eps: 1.0e-09
|
134 |
+
weight_decay: 0.0
|
135 |
+
scheduler2: exponentiallr
|
136 |
+
scheduler2_conf:
|
137 |
+
gamma: 0.999875
|
138 |
+
generator_first: true
|
139 |
+
skip_discriminator_prob: 0.3
|
140 |
+
model_conf: {}
|
141 |
+
use_preprocessor: true
|
142 |
+
codec: encodec
|
143 |
+
codec_conf:
|
144 |
+
sampling_rate: 16000
|
145 |
+
generator_params:
|
146 |
+
hidden_dim: 512
|
147 |
+
encdec_channels: 1
|
148 |
+
encdec_n_filters: 32
|
149 |
+
encdec_n_residual_layers: 3
|
150 |
+
encdec_ratios:
|
151 |
+
- 8
|
152 |
+
- 5
|
153 |
+
- 4
|
154 |
+
- 2
|
155 |
+
encdec_activation: ELU
|
156 |
+
encdec_activation_params:
|
157 |
+
alpha: 1.0
|
158 |
+
encdec_norm: weight_norm
|
159 |
+
encdec_kernel_size: 7
|
160 |
+
encdec_residual_kernel_size: 7
|
161 |
+
encdec_last_kernel_size: 7
|
162 |
+
encdec_dilation_base: 2
|
163 |
+
encdec_causal: false
|
164 |
+
encdec_pad_mode: reflect
|
165 |
+
encdec_true_skip: false
|
166 |
+
encdec_compress: 2
|
167 |
+
encdec_lstm: 2
|
168 |
+
decoder_trim_right_ratio: 1.0
|
169 |
+
decoder_final_activation: null
|
170 |
+
decoder_final_activation_params: null
|
171 |
+
quantizer_n_q: 32
|
172 |
+
quantizer_bins: 1024
|
173 |
+
quantizer_decay: 0.99
|
174 |
+
quantizer_kmeans_init: true
|
175 |
+
quantizer_kmeans_iters: 50
|
176 |
+
quantizer_threshold_ema_dead_code: 2
|
177 |
+
quantizer_target_bandwidth:
|
178 |
+
- 2
|
179 |
+
- 4
|
180 |
+
- 8
|
181 |
+
- 16
|
182 |
+
- 32
|
183 |
+
sample_rate: 16000
|
184 |
+
discriminator_params:
|
185 |
+
msstft_discriminator_params:
|
186 |
+
filters: 32
|
187 |
+
in_channels: 1
|
188 |
+
out_channels: 1
|
189 |
+
norm: weight_norm
|
190 |
+
n_ffts:
|
191 |
+
- 1024
|
192 |
+
- 2048
|
193 |
+
- 512
|
194 |
+
- 256
|
195 |
+
- 128
|
196 |
+
hop_lengths:
|
197 |
+
- 256
|
198 |
+
- 512
|
199 |
+
- 128
|
200 |
+
- 64
|
201 |
+
- 32
|
202 |
+
win_lengths:
|
203 |
+
- 1024
|
204 |
+
- 2048
|
205 |
+
- 512
|
206 |
+
- 256
|
207 |
+
- 128
|
208 |
+
activation: LeakyReLU
|
209 |
+
activation_params:
|
210 |
+
negative_slope: 0.3
|
211 |
+
generator_adv_loss_params:
|
212 |
+
average_by_discriminators: false
|
213 |
+
loss_type: mse
|
214 |
+
discriminator_adv_loss_params:
|
215 |
+
average_by_discriminators: false
|
216 |
+
loss_type: mse
|
217 |
+
use_feat_match_loss: true
|
218 |
+
feat_match_loss_params:
|
219 |
+
average_by_discriminators: false
|
220 |
+
average_by_layers: false
|
221 |
+
include_final_outputs: true
|
222 |
+
use_mel_loss: true
|
223 |
+
mel_loss_params:
|
224 |
+
range_start: 6
|
225 |
+
range_end: 11
|
226 |
+
window: hann
|
227 |
+
n_mels: 80
|
228 |
+
fmin: 0
|
229 |
+
fmax: null
|
230 |
+
log_base: null
|
231 |
+
fs: 16000
|
232 |
+
lambda_quantization: 0.0
|
233 |
+
lambda_commit: 1.0
|
234 |
+
lambda_reconstruct: 1.0
|
235 |
+
lambda_adv: 1.0
|
236 |
+
lambda_mel: 45.0
|
237 |
+
lambda_feat_match: 2.0
|
238 |
+
cache_generator_outputs: true
|
239 |
+
use_loss_balancer: false
|
240 |
+
required:
|
241 |
+
- output_dir
|
242 |
+
version: '202402'
|
243 |
+
distributed: true
|
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/adv_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/codec_commit_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/codec_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/codec_quantization_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_backward_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_forward_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_optim_step_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/discriminator_train_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/fake_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/feat_match_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/generator_backward_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/generator_forward_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/generator_optim_step_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/generator_train_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/gpu_max_cached_mem_GB.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/iter_time.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/mel_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/mel_loss_real.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/optim0_lr0.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/optim1_lr0.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/real_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/reconstruct_loss.png
ADDED
exp_16k/codec_train_encodec_fs16000_raw_fs16000/images/train_time.png
ADDED
meta.yaml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
espnet: '202402'
|
2 |
+
files:
|
3 |
+
model_file: exp_16k/codec_train_encodec_fs16000_raw_fs16000/120epoch.pth
|
4 |
+
python: 3.10.14 (main, May 6 2024, 19:42:50) [GCC 11.2.0]
|
5 |
+
timestamp: 1718989440.461855
|
6 |
+
torch: 2.0.1
|
7 |
+
yaml_files:
|
8 |
+
train_config: exp_16k/codec_train_encodec_fs16000_raw_fs16000/config.yaml
|