icecream0910
commited on
Commit
•
2eaf383
1
Parent(s):
c288dff
Upload 7 files
Browse files- server/models/glowtts-v2/best_model.pth.tar +3 -0
- server/models/glowtts-v2/config.json +109 -0
- server/models/glowtts-v2/scale_stats.npy +3 -0
- server/models/hifigan-v2/best_model.pth.tar +3 -0
- server/models/hifigan-v2/config.json +165 -0
- server/models/hifigan-v2/hifigan.onnx +3 -0
- server/models/hifigan-v2/scale_stats.npy +3 -0
server/models/glowtts-v2/best_model.pth.tar
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd9103e1b1cd49e0e28a44ab6c61ec70ac97b43effff02adcdc491191ed96585
|
3 |
+
size 343835368
|
server/models/glowtts-v2/config.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "glow_tts",
|
3 |
+
"run_name": "glowtts-v2",
|
4 |
+
"run_description": "glow-tts model for sce-tts project",
|
5 |
+
"epochs": 10000,
|
6 |
+
"batch_size": 32,
|
7 |
+
"eval_batch_size": 16,
|
8 |
+
"mixed_precision": false,
|
9 |
+
"run_eval": true,
|
10 |
+
"test_delay_epochs": 0,
|
11 |
+
"print_eval": false,
|
12 |
+
"print_step": 25,
|
13 |
+
"tb_plot_step": 100,
|
14 |
+
"tb_model_param_stats": false,
|
15 |
+
"save_step": 1000,
|
16 |
+
"checkpoint": true,
|
17 |
+
"keep_all_best": false,
|
18 |
+
"keep_after": 10000,
|
19 |
+
"num_loader_workers": 2,
|
20 |
+
"num_val_loader_workers": 2,
|
21 |
+
"use_noise_augment": true,
|
22 |
+
"output_path": "/content/drive/My Drive/Colab Notebooks/data/glowtts-v2/",
|
23 |
+
"distributed_backend": "nccl",
|
24 |
+
"distributed_url": "tcp://localhost:54321",
|
25 |
+
"audio": {
|
26 |
+
"fft_size": 1024,
|
27 |
+
"win_length": 1024,
|
28 |
+
"hop_length": 256,
|
29 |
+
"frame_shift_ms": null,
|
30 |
+
"frame_length_ms": null,
|
31 |
+
"stft_pad_mode": "reflect",
|
32 |
+
"sample_rate": 22050,
|
33 |
+
"resample": false,
|
34 |
+
"preemphasis": 0.98,
|
35 |
+
"ref_level_db": 20,
|
36 |
+
"do_sound_norm": false,
|
37 |
+
"do_trim_silence": false,
|
38 |
+
"trim_db": 60,
|
39 |
+
"power": 1.1,
|
40 |
+
"griffin_lim_iters": 60,
|
41 |
+
"num_mels": 80,
|
42 |
+
"mel_fmin": 0.0,
|
43 |
+
"mel_fmax": 8000.0,
|
44 |
+
"spec_gain": 20,
|
45 |
+
"signal_norm": true,
|
46 |
+
"min_level_db": -100,
|
47 |
+
"symmetric_norm": true,
|
48 |
+
"max_norm": 4.0,
|
49 |
+
"clip_norm": true,
|
50 |
+
"stats_path": "D:\\myown-tts\\server\\models\\glowtts-v2\\scale_stats.npy"
|
51 |
+
},
|
52 |
+
"use_phonemes": false,
|
53 |
+
"phoneme_language": "ko",
|
54 |
+
"compute_input_seq_cache": true,
|
55 |
+
"text_cleaner": "korean_cleaners",
|
56 |
+
"enable_eos_bos_chars": false,
|
57 |
+
"test_sentences_file": "/content/TTS/test_sentences.txt",
|
58 |
+
"phoneme_cache_path": null,
|
59 |
+
"characters": {
|
60 |
+
"pad": "_",
|
61 |
+
"eos": "~",
|
62 |
+
"bos": "^",
|
63 |
+
"characters": " .!?\u1100\u1101\u1102\u1103\u1104\u1105\u1106\u1107\u1108\u1109\u110a\u110b\u110c\u110d\u110e\u110f\u1110\u1111\u1112\u1161\u1162\u1163\u1164\u1165\u1166\u1167\u1168\u1169\u116a\u116b\u116c\u116d\u116e\u116f\u1170\u1171\u1172\u1173\u1174\u1175\u11a8\u11a9\u11aa\u11ab\u11ac\u11ad\u11ae\u11af\u11b0\u11b1\u11b2\u11b3\u11b4\u11b5\u11b6\u11b7\u11b8\u11b9\u11ba\u11bb\u11bc\u11bd\u11be\u11bf\u11c0\u11c1\u11c2",
|
64 |
+
"punctuations": " .!?",
|
65 |
+
"phonemes": "\u1100\u1101\u1102\u1103\u1104\u1105\u1106\u1107\u1108\u1109\u110a\u110b\u110c\u110d\u110e\u110f\u1110\u1111\u1112\u1161\u1162\u1163\u1164\u1165\u1166\u1167\u1168\u1169\u116a\u116b\u116c\u116d\u116e\u116f\u1170\u1171\u1172\u1173\u1174\u1175\u11a8\u11a9\u11aa\u11ab\u11ac\u11ad\u11ae\u11af\u11b0\u11b1\u11b2\u11b3\u11b4\u11b5\u11b6\u11b7\u11b8\u11b9\u11ba\u11bb\u11bc\u11bd\u11be\u11bf\u11c0\u11c1\u11c2",
|
66 |
+
"unique": true
|
67 |
+
},
|
68 |
+
"batch_group_size": 4,
|
69 |
+
"loss_masking": true,
|
70 |
+
"min_seq_len": 3,
|
71 |
+
"max_seq_len": 500,
|
72 |
+
"compute_f0": false,
|
73 |
+
"add_blank": false,
|
74 |
+
"datasets": [
|
75 |
+
{
|
76 |
+
"name": "ljspeech",
|
77 |
+
"path": "/content/TTS/filelists",
|
78 |
+
"meta_file_train": "metadata.csv",
|
79 |
+
"ununsed_speakers": null,
|
80 |
+
"meta_file_val": null,
|
81 |
+
"meta_file_attn_mask": ""
|
82 |
+
}
|
83 |
+
],
|
84 |
+
"encoder_type": "rel_pos_transformer",
|
85 |
+
"encoder_params": {
|
86 |
+
"kernel_size": 3,
|
87 |
+
"dropout_p": 0.1,
|
88 |
+
"num_layers": 6,
|
89 |
+
"num_heads": 2,
|
90 |
+
"hidden_channels_ffn": 768,
|
91 |
+
"input_length": null
|
92 |
+
},
|
93 |
+
"use_encoder_prenet": true,
|
94 |
+
"hidden_channels_encoder": 192,
|
95 |
+
"hidden_channels_decoder": 192,
|
96 |
+
"hidden_channels_duration_predictor": 256,
|
97 |
+
"data_dep_init_steps": 10,
|
98 |
+
"style_wav_for_test": null,
|
99 |
+
"inference_noise_scale": 0.0,
|
100 |
+
"use_speaker_embedding": false,
|
101 |
+
"use_external_speaker_embedding_file": false,
|
102 |
+
"external_speaker_embedding_file": false,
|
103 |
+
"noam_schedule": true,
|
104 |
+
"warmup_steps": 4000,
|
105 |
+
"grad_clip": 0.05,
|
106 |
+
"lr": 0.0001,
|
107 |
+
"wd": 1e-06,
|
108 |
+
"r": 1
|
109 |
+
}
|
server/models/glowtts-v2/scale_stats.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df69167ebc20f1e26aa53fa3d8cc2e59690c7580044481596aca393a814f6165
|
3 |
+
size 10680
|
server/models/hifigan-v2/best_model.pth.tar
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76398204c01edd116faaac6f11fc17b2bca20659847c0dba752ef021bfe2e6d8
|
3 |
+
size 860280509
|
server/models/hifigan-v2/config.json
ADDED
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model": "hifigan",
|
3 |
+
"run_name": "hifigan-v2",
|
4 |
+
"run_description": "hifigan model for sce-tts project",
|
5 |
+
"epochs": 10000,
|
6 |
+
"batch_size": 16,
|
7 |
+
"eval_batch_size": 16,
|
8 |
+
"mixed_precision": false,
|
9 |
+
"run_eval": true,
|
10 |
+
"test_delay_epochs": 0,
|
11 |
+
"print_eval": false,
|
12 |
+
"print_step": 25,
|
13 |
+
"tb_plot_step": 100,
|
14 |
+
"tb_model_param_stats": false,
|
15 |
+
"save_step": 5000,
|
16 |
+
"checkpoint": true,
|
17 |
+
"keep_all_best": false,
|
18 |
+
"keep_after": 10000,
|
19 |
+
"num_loader_workers": 2,
|
20 |
+
"num_val_loader_workers": 2,
|
21 |
+
"use_noise_augment": false,
|
22 |
+
"output_path": "/content/drive/My Drive/Colab Notebooks/data/hifigan-v2/",
|
23 |
+
"distributed_backend": "nccl",
|
24 |
+
"distributed_url": "tcp://localhost:54321",
|
25 |
+
"audio": {
|
26 |
+
"fft_size": 1024,
|
27 |
+
"win_length": 1024,
|
28 |
+
"hop_length": 256,
|
29 |
+
"frame_shift_ms": null,
|
30 |
+
"frame_length_ms": null,
|
31 |
+
"stft_pad_mode": "reflect",
|
32 |
+
"sample_rate": 22050,
|
33 |
+
"resample": false,
|
34 |
+
"preemphasis": 0.98,
|
35 |
+
"ref_level_db": 20,
|
36 |
+
"do_sound_norm": false,
|
37 |
+
"do_trim_silence": false,
|
38 |
+
"trim_db": 60,
|
39 |
+
"power": 1.1,
|
40 |
+
"griffin_lim_iters": 60,
|
41 |
+
"num_mels": 80,
|
42 |
+
"mel_fmin": 0.0,
|
43 |
+
"mel_fmax": 8000.0,
|
44 |
+
"spec_gain": 20,
|
45 |
+
"signal_norm": true,
|
46 |
+
"min_level_db": -100,
|
47 |
+
"symmetric_norm": true,
|
48 |
+
"max_norm": 4.0,
|
49 |
+
"clip_norm": true,
|
50 |
+
"stats_path": "D:\\myown-tts\\server\\models\\hifigan-v2\\scale_stats.npy"
|
51 |
+
},
|
52 |
+
"eval_split_size": 10,
|
53 |
+
"data_path": "/content/TTS/filelists/wavs",
|
54 |
+
"feature_path": null,
|
55 |
+
"seq_len": 8192,
|
56 |
+
"pad_short": 2000,
|
57 |
+
"conv_pad": 0,
|
58 |
+
"use_cache": true,
|
59 |
+
"wd": 0.0,
|
60 |
+
"use_stft_loss": false,
|
61 |
+
"use_subband_stft_loss": false,
|
62 |
+
"use_mse_gan_loss": true,
|
63 |
+
"use_hinge_gan_loss": false,
|
64 |
+
"use_feat_match_loss": true,
|
65 |
+
"use_l1_spec_loss": true,
|
66 |
+
"stft_loss_weight": 0.0,
|
67 |
+
"subband_stft_loss_weight": 0.0,
|
68 |
+
"mse_G_loss_weight": 1.0,
|
69 |
+
"hinge_G_loss_weight": 0.0,
|
70 |
+
"feat_match_loss_weight": 10.0,
|
71 |
+
"l1_spec_loss_weight": 45.0,
|
72 |
+
"stft_loss_params": {
|
73 |
+
"n_ffts": [
|
74 |
+
1024,
|
75 |
+
2048,
|
76 |
+
512
|
77 |
+
],
|
78 |
+
"hop_lengths": [
|
79 |
+
120,
|
80 |
+
240,
|
81 |
+
50
|
82 |
+
],
|
83 |
+
"win_lengths": [
|
84 |
+
600,
|
85 |
+
1200,
|
86 |
+
240
|
87 |
+
]
|
88 |
+
},
|
89 |
+
"l1_spec_loss_params": {
|
90 |
+
"use_mel": true,
|
91 |
+
"sample_rate": 22050,
|
92 |
+
"n_fft": 1024,
|
93 |
+
"hop_length": 256,
|
94 |
+
"win_length": 1024,
|
95 |
+
"n_mels": 80,
|
96 |
+
"mel_fmin": 0.0,
|
97 |
+
"mel_fmax": null
|
98 |
+
},
|
99 |
+
"target_loss": "avg_G_loss",
|
100 |
+
"gen_clip_grad": -1.0,
|
101 |
+
"disc_clip_grad": -1.0,
|
102 |
+
"lr_gen": 0.0002,
|
103 |
+
"lr_disc": 0.0002,
|
104 |
+
"optimizer": "AdamW",
|
105 |
+
"optimizer_params": {
|
106 |
+
"betas": [
|
107 |
+
0.8,
|
108 |
+
0.99
|
109 |
+
],
|
110 |
+
"weight_decay": 0.0
|
111 |
+
},
|
112 |
+
"lr_scheduler_gen": "ExponentialLR",
|
113 |
+
"lr_scheduler_gen_params": {
|
114 |
+
"gamma": 0.99,
|
115 |
+
"last_epoch": -1
|
116 |
+
},
|
117 |
+
"lr_scheduler_disc": "ExponentialLR",
|
118 |
+
"lr_scheduler_disc_params": {
|
119 |
+
"gamma": 0.99,
|
120 |
+
"last_epoch": -1
|
121 |
+
},
|
122 |
+
"use_pqmf": false,
|
123 |
+
"diff_samples_for_G_and_D": false,
|
124 |
+
"discriminator_model": "hifigan_discriminator",
|
125 |
+
"generator_model": "hifigan_generator",
|
126 |
+
"generator_model_params": {
|
127 |
+
"resblock_type": "1",
|
128 |
+
"upsample_factors": [
|
129 |
+
8,
|
130 |
+
8,
|
131 |
+
2,
|
132 |
+
2
|
133 |
+
],
|
134 |
+
"upsample_kernel_sizes": [
|
135 |
+
16,
|
136 |
+
16,
|
137 |
+
4,
|
138 |
+
4
|
139 |
+
],
|
140 |
+
"upsample_initial_channel": 128,
|
141 |
+
"resblock_kernel_sizes": [
|
142 |
+
3,
|
143 |
+
7,
|
144 |
+
11
|
145 |
+
],
|
146 |
+
"resblock_dilation_sizes": [
|
147 |
+
[
|
148 |
+
1,
|
149 |
+
3,
|
150 |
+
5
|
151 |
+
],
|
152 |
+
[
|
153 |
+
1,
|
154 |
+
3,
|
155 |
+
5
|
156 |
+
],
|
157 |
+
[
|
158 |
+
1,
|
159 |
+
3,
|
160 |
+
5
|
161 |
+
]
|
162 |
+
]
|
163 |
+
},
|
164 |
+
"lr": 0.0001
|
165 |
+
}
|
server/models/hifigan-v2/hifigan.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4095979afe120b8cd8addd0f617bf8a456b6c6c187e1bb5057f0b3166af241e9
|
3 |
+
size 3731575
|
server/models/hifigan-v2/scale_stats.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df565ffd01d51ae8894063f0281a029f22b091e99187745f6838ebe750682181
|
3 |
+
size 10680
|