jhlfrfufyfn commited on
Commit
76e0c34
1 Parent(s): 512ad89

Upload 5 files

Browse files
best_model_102713.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00becc33a8f7413739b901748953a578849482ada33d97cf0ab5795429dd0ca8
3
+ size 343655400
best_model_215301.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6baee0d33e1e89856ebb9d09b6216349e2bc015f880fe1aaea88e90bed6c99c
3
+ size 1016480505
glow-config.json ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "/storage/output",
3
+ "logger_uri": null,
4
+ "run_name": "run",
5
+ "project_name": null,
6
+ "run_description": "\ud83d\udc38Coqui trainer run.",
7
+ "print_step": 50,
8
+ "plot_step": 100,
9
+ "model_param_stats": false,
10
+ "wandb_entity": null,
11
+ "dashboard_logger": "tensorboard",
12
+ "log_model_step": null,
13
+ "save_step": 10000,
14
+ "save_n_checkpoints": 2,
15
+ "save_checkpoints": true,
16
+ "save_all_best": false,
17
+ "save_best_after": 5000,
18
+ "target_loss": null,
19
+ "print_eval": true,
20
+ "test_delay_epochs": -1,
21
+ "run_eval": true,
22
+ "run_eval_steps": null,
23
+ "distributed_backend": "nccl",
24
+ "distributed_url": "tcp://localhost:54321",
25
+ "mixed_precision": false,
26
+ "epochs": 1000,
27
+ "batch_size": 64,
28
+ "eval_batch_size": 32,
29
+ "grad_clip": 5.0,
30
+ "scheduler_after_epoch": true,
31
+ "lr": 1e-05,
32
+ "optimizer": "RAdam",
33
+ "optimizer_params": {
34
+ "betas": [
35
+ 0.9,
36
+ 0.998
37
+ ],
38
+ "weight_decay": 1e-06
39
+ },
40
+ "lr_scheduler": "NoamLR",
41
+ "lr_scheduler_params": {
42
+ "warmup_steps": 4000
43
+ },
44
+ "use_grad_scaler": false,
45
+ "cudnn_enable": true,
46
+ "cudnn_deterministic": false,
47
+ "cudnn_benchmark": false,
48
+ "training_seed": 54321,
49
+ "model": "glow_tts",
50
+ "num_loader_workers": 8,
51
+ "num_eval_loader_workers": 8,
52
+ "use_noise_augment": true,
53
+ "audio": {
54
+ "fft_size": 1024,
55
+ "win_length": 1024,
56
+ "hop_length": 256,
57
+ "frame_shift_ms": null,
58
+ "frame_length_ms": null,
59
+ "stft_pad_mode": "reflect",
60
+ "sample_rate": 22050,
61
+ "resample": false,
62
+ "preemphasis": 0.0,
63
+ "ref_level_db": 20,
64
+ "do_sound_norm": false,
65
+ "log_func": "np.log10",
66
+ "do_trim_silence": true,
67
+ "trim_db": 45,
68
+ "do_rms_norm": false,
69
+ "db_level": null,
70
+ "power": 1.5,
71
+ "griffin_lim_iters": 60,
72
+ "num_mels": 80,
73
+ "mel_fmin": 50.0,
74
+ "mel_fmax": 8000.0,
75
+ "spec_gain": 20,
76
+ "do_amp_to_db_linear": true,
77
+ "do_amp_to_db_mel": true,
78
+ "pitch_fmax": 640.0,
79
+ "pitch_fmin": 1.0,
80
+ "signal_norm": true,
81
+ "min_level_db": -100,
82
+ "symmetric_norm": true,
83
+ "max_norm": 4.0,
84
+ "clip_norm": true,
85
+ "stats_path": "/home/jhlfrfufyfn/dev/diplom/TTS/scale_stats.npy"
86
+ },
87
+ "use_phonemes": false,
88
+ "phonemizer": null,
89
+ "phoneme_language": null,
90
+ "compute_input_seq_cache": false,
91
+ "text_cleaner": "no_cleaners",
92
+ "enable_eos_bos_chars": true,
93
+ "test_sentences_file": "",
94
+ "phoneme_cache_path": null,
95
+ "characters": {
96
+ "characters_class": "TTS.tts.utils.text.characters.Graphemes",
97
+ "vocab_dict": null,
98
+ "pad": "_",
99
+ "eos": "~",
100
+ "bos": "^",
101
+ "blank": "@",
102
+ "characters": "\u0481\u0482\u0439\u044b\u0448\u0447\u0426\u0446\u0425\u0445\u0424\u0444\u0423\u0443\u0422\u0442\u0421\u0441\u0440\u041f\u043f\u043e\u041d\u043d\u041c\u04ce\u043c\u041b\u043b\u041a\u043a\u0456\u0417\u0437\u0499\u0495\u0496\u0497\u0435\u0414\u0434\u0413\u0433\u0490\u0491\u0475\u0412\u0432\u0411\u0431\u0430",
103
+ "punctuations": "!,.? -",
104
+ "phonemes": null,
105
+ "is_unique": true,
106
+ "is_sorted": true
107
+ },
108
+ "add_blank": true,
109
+ "batch_group_size": 0,
110
+ "loss_masking": null,
111
+ "min_audio_len": 1,
112
+ "max_audio_len": Infinity,
113
+ "min_text_len": 1,
114
+ "max_text_len": Infinity,
115
+ "compute_f0": false,
116
+ "compute_energy": false,
117
+ "compute_linear_spec": false,
118
+ "precompute_num_workers": 0,
119
+ "start_by_longest": false,
120
+ "shuffle": false,
121
+ "drop_last": false,
122
+ "datasets": [
123
+ {
124
+ "formatter": "bel_tts_formatter",
125
+ "dataset_name": "",
126
+ "path": "/storage/filtered_dataset/",
127
+ "meta_file_train": "ipa_final_dataset.csv",
128
+ "ignored_speakers": null,
129
+ "language": "",
130
+ "phonemizer": "",
131
+ "meta_file_val": "",
132
+ "meta_file_attn_mask": ""
133
+ }
134
+ ],
135
+ "test_sentences": [
136
+ "It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
137
+ "Be a voice, not an echo.",
138
+ "I'm sorry Dave. I'm afraid I can't do that.",
139
+ "This cake is great. It's so delicious and moist.",
140
+ "Prior to November 22, 1963."
141
+ ],
142
+ "eval_split_max_size": null,
143
+ "eval_split_size": 0.01,
144
+ "use_speaker_weighted_sampler": false,
145
+ "speaker_weighted_sampler_alpha": 1.0,
146
+ "use_language_weighted_sampler": false,
147
+ "language_weighted_sampler_alpha": 1.0,
148
+ "use_length_weighted_sampler": false,
149
+ "length_weighted_sampler_alpha": 1.0,
150
+ "num_chars": 61,
151
+ "encoder_type": "rel_pos_transformer",
152
+ "encoder_params": {
153
+ "kernel_size": 3,
154
+ "dropout_p": 0.1,
155
+ "num_layers": 6,
156
+ "num_heads": 2,
157
+ "hidden_channels_ffn": 768,
158
+ "input_length": null
159
+ },
160
+ "use_encoder_prenet": true,
161
+ "hidden_channels_enc": 192,
162
+ "hidden_channels_dec": 192,
163
+ "hidden_channels_dp": 256,
164
+ "dropout_p_dp": 0.1,
165
+ "dropout_p_dec": 0.05,
166
+ "mean_only": true,
167
+ "out_channels": 80,
168
+ "num_flow_blocks_dec": 12,
169
+ "inference_noise_scale": 0.0,
170
+ "kernel_size_dec": 5,
171
+ "dilation_rate": 1,
172
+ "num_block_layers": 4,
173
+ "num_speakers": 0,
174
+ "c_in_channels": 0,
175
+ "num_splits": 4,
176
+ "num_squeeze": 2,
177
+ "sigmoid_scale": false,
178
+ "d_vector_dim": 0,
179
+ "data_dep_init_steps": 10,
180
+ "style_wav_for_test": null,
181
+ "length_scale": 1.0,
182
+ "use_speaker_embedding": false,
183
+ "speakers_file": null,
184
+ "use_d_vector_file": false,
185
+ "d_vector_file": false,
186
+ "min_seq_len": 3,
187
+ "max_seq_len": 500,
188
+ "r": 1,
189
+ "restore_path": "/storage/output/run-April-30-2023_01+57AM-f9e7c410/best_model_57989.pth",
190
+ "github_branch": "* dev"
191
+ }
scale_stats.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04b9cf60d8d5fc0a5efe55763250ccaa87e4e078ae8927508cd1b4b7ad8ccca3
3
+ size 10790
vocoder-config.json ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_path": "/storage/output",
3
+ "logger_uri": null,
4
+ "run_name": "run",
5
+ "project_name": null,
6
+ "run_description": "\ud83d\udc38Coqui trainer run.",
7
+ "print_step": 50,
8
+ "plot_step": 100,
9
+ "model_param_stats": false,
10
+ "wandb_entity": null,
11
+ "dashboard_logger": "tensorboard",
12
+ "log_model_step": null,
13
+ "save_step": 5000,
14
+ "save_n_checkpoints": 2,
15
+ "save_checkpoints": true,
16
+ "save_all_best": false,
17
+ "save_best_after": 5000,
18
+ "target_loss": "loss_0",
19
+ "print_eval": true,
20
+ "test_delay_epochs": 5,
21
+ "run_eval": true,
22
+ "run_eval_steps": null,
23
+ "distributed_backend": "nccl",
24
+ "distributed_url": "tcp://localhost:54321",
25
+ "mixed_precision": false,
26
+ "epochs": 1000,
27
+ "batch_size": 32,
28
+ "eval_batch_size": 16,
29
+ "grad_clip": null,
30
+ "scheduler_after_epoch": true,
31
+ "lr": 0.0001,
32
+ "optimizer": "AdamW",
33
+ "optimizer_params": {
34
+ "betas": [
35
+ 0.8,
36
+ 0.99
37
+ ],
38
+ "weight_decay": 0.0
39
+ },
40
+ "lr_scheduler": null,
41
+ "lr_scheduler_params": {},
42
+ "use_grad_scaler": false,
43
+ "cudnn_enable": true,
44
+ "cudnn_deterministic": false,
45
+ "cudnn_benchmark": false,
46
+ "training_seed": 54321,
47
+ "model": "hifigan",
48
+ "num_loader_workers": 8,
49
+ "num_eval_loader_workers": 8,
50
+ "use_noise_augment": true,
51
+ "audio": {
52
+ "fft_size": 1024,
53
+ "win_length": 1024,
54
+ "hop_length": 256,
55
+ "frame_shift_ms": null,
56
+ "frame_length_ms": null,
57
+ "stft_pad_mode": "reflect",
58
+ "sample_rate": 22050,
59
+ "resample": false,
60
+ "preemphasis": 0.0,
61
+ "ref_level_db": 20,
62
+ "do_sound_norm": false,
63
+ "log_func": "np.log10",
64
+ "do_trim_silence": true,
65
+ "trim_db": 45,
66
+ "do_rms_norm": false,
67
+ "db_level": null,
68
+ "power": 1.5,
69
+ "griffin_lim_iters": 60,
70
+ "num_mels": 80,
71
+ "mel_fmin": 50.0,
72
+ "mel_fmax": 8000.0,
73
+ "spec_gain": 20,
74
+ "do_amp_to_db_linear": true,
75
+ "do_amp_to_db_mel": true,
76
+ "pitch_fmax": 640.0,
77
+ "pitch_fmin": 1.0,
78
+ "signal_norm": true,
79
+ "min_level_db": -100,
80
+ "symmetric_norm": true,
81
+ "max_norm": 4.0,
82
+ "clip_norm": true,
83
+ "stats_path": "/home/jhlfrfufyfn/dev/diplom/TTS/scale_stats.npy"
84
+ },
85
+ "eval_split_size": 30,
86
+ "data_path": "/storage/filtered_dataset",
87
+ "feature_path": null,
88
+ "seq_len": 8192,
89
+ "pad_short": 2000,
90
+ "conv_pad": 0,
91
+ "use_cache": false,
92
+ "wd": 1e-06,
93
+ "use_stft_loss": false,
94
+ "use_subband_stft_loss": false,
95
+ "use_mse_gan_loss": true,
96
+ "use_hinge_gan_loss": false,
97
+ "use_feat_match_loss": true,
98
+ "use_l1_spec_loss": true,
99
+ "stft_loss_weight": 0.0,
100
+ "subband_stft_loss_weight": 0.0,
101
+ "mse_G_loss_weight": 1.0,
102
+ "hinge_G_loss_weight": 0.0,
103
+ "feat_match_loss_weight": 108.0,
104
+ "l1_spec_loss_weight": 45.0,
105
+ "stft_loss_params": {
106
+ "n_ffts": [
107
+ 1024,
108
+ 2048,
109
+ 512
110
+ ],
111
+ "hop_lengths": [
112
+ 120,
113
+ 240,
114
+ 50
115
+ ],
116
+ "win_lengths": [
117
+ 600,
118
+ 1200,
119
+ 240
120
+ ]
121
+ },
122
+ "l1_spec_loss_params": {
123
+ "use_mel": true,
124
+ "sample_rate": 22050,
125
+ "n_fft": 1024,
126
+ "hop_length": 256,
127
+ "win_length": 1024,
128
+ "n_mels": 80,
129
+ "mel_fmin": 0.0,
130
+ "mel_fmax": null
131
+ },
132
+ "lr_gen": 0.0002,
133
+ "lr_disc": 0.0002,
134
+ "lr_scheduler_gen": "ExponentialLR",
135
+ "lr_scheduler_gen_params": {
136
+ "gamma": 0.999,
137
+ "last_epoch": -1
138
+ },
139
+ "lr_scheduler_disc": "ExponentialLR",
140
+ "lr_scheduler_disc_params": {
141
+ "gamma": 0.999,
142
+ "last_epoch": -1
143
+ },
144
+ "use_pqmf": false,
145
+ "diff_samples_for_G_and_D": false,
146
+ "discriminator_model": "hifigan_discriminator",
147
+ "generator_model": "hifigan_generator",
148
+ "generator_model_params": {
149
+ "upsample_factors": [
150
+ 8,
151
+ 8,
152
+ 2,
153
+ 2
154
+ ],
155
+ "upsample_kernel_sizes": [
156
+ 16,
157
+ 16,
158
+ 4,
159
+ 4
160
+ ],
161
+ "upsample_initial_channel": 512,
162
+ "resblock_kernel_sizes": [
163
+ 3,
164
+ 7,
165
+ 11
166
+ ],
167
+ "resblock_dilation_sizes": [
168
+ [
169
+ 1,
170
+ 3,
171
+ 5
172
+ ],
173
+ [
174
+ 1,
175
+ 3,
176
+ 5
177
+ ],
178
+ [
179
+ 1,
180
+ 3,
181
+ 5
182
+ ]
183
+ ],
184
+ "resblock_type": "1"
185
+ },
186
+ "restore_path": "/storage/output/run-May-02-2023_10+49PM-10468930/best_model_63061.pth",
187
+ "github_branch": "* dev"
188
+ }