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