-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fa0695
commit c9ac636
Showing
5 changed files
with
217 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
configs/vctk_conformerppg_uttdvec_ppgvcf0_vits_none.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# experiment | ||
dataset: vctk | ||
train_meta: data/vctk/train_nodev_all/metadata.csv | ||
dev_meta: data/vctk/dev_all/metadata.csv | ||
train_set: train_nodev_all | ||
dev_set: dev_all | ||
|
||
|
||
# encoder-decoder | ||
ling_enc: conformer_ppg | ||
spk_enc: utt_dvec | ||
pros_enc: ppgvc_f0 | ||
decoder: VITS | ||
mel_type: vits_spec | ||
|
||
|
||
# training | ||
fp16_run: !!bool False | ||
epochs: 200 | ||
save_freq: 1 # save ckpt frequency | ||
show_freq: 100 # show training information frequency | ||
load_only_params: !!bool False | ||
seed: !!int 1234 | ||
trainer: VITSTrainer | ||
ngpu: 2 | ||
|
||
#dataloader | ||
dataset_class: VITSDataset | ||
sampling_rate: !!int 24000 | ||
vits_hop_size: !!int 240 | ||
spec_max_len: !!int 240 | ||
sort: !!bool True | ||
dump_dir: dump | ||
num_workers: !!int 4 | ||
batch_size: !!int 12 | ||
drop_last: !!bool True | ||
rm_long_utt: !!bool False # remove too long utterances from metadata | ||
max_utt_duration: !!float 10.0 # max utterance duration (seconds) | ||
|
||
|
||
# decoder params | ||
decoder_params: | ||
spk_emb_dim: 256 | ||
prosodic_rep_type: continuous | ||
prosodic_net: | ||
hidden_dim: 192 | ||
input_dim: !!int 144 | ||
spec_channels: !!int 513 | ||
inter_channels: !!int 192 | ||
hidden_channels: !!int 192 | ||
filter_channels: !!int 768 | ||
n_heads: !!int 2 | ||
n_layers: !!int 6 | ||
kernel_size: !!int 3 | ||
p_dropout: !!float 0.1 | ||
resblock : 1 | ||
resblock_kernel_sizes: [3,7,11] | ||
resblock_dilation_sizes: [[1,3,5], [1,3,5], [1,3,5]] | ||
upsample_rates: [10,6,2,2] | ||
upsample_initial_channel: !!int 512 | ||
upsample_kernel_sizes: [20, 12, 4, 4] | ||
n_layers_q: !!int 3 | ||
use_spectral_norm: !!bool False | ||
filter_length: !!int 1024 | ||
n_mels_channels: !!int 80 | ||
win_length: !!int 1024 | ||
hop_length: !!int 240 | ||
sampling_rate: !!int 24000 | ||
segment_size: !!int 9600 | ||
|
||
|
||
|
||
|
||
#optimizer & scheduler | ||
optimizer: | ||
generator: | ||
lr: !!float 1e-4 | ||
betas: [0.8,0.99] | ||
eps: !!float 1e-9 | ||
discriminator: | ||
lr: !!float 1e-4 | ||
betas: [0.8,0.99] | ||
eps: !!float 1e-9 | ||
scheduler: | ||
generator: | ||
lr_decay: !!float 0.999875 | ||
discriminator: | ||
lr_decay: !!float 0.999875 | ||
|
||
# loss hyper-parameters | ||
losses: | ||
mel: !!int 45 | ||
kl: !!int 1 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# experiment | ||
dataset: vctk | ||
train_meta: data/vctk/train_nodev_all/metadata.csv | ||
dev_meta: data/vctk/dev_all/metadata.csv | ||
train_set: train_nodev_all | ||
dev_set: dev_all | ||
|
||
|
||
# encoder-decoder | ||
ling_enc: hubert_soft | ||
spk_enc: utt_dvec | ||
pros_enc: ppgvc_f0 | ||
decoder: VITS | ||
mel_type: vits_spec | ||
|
||
|
||
# training | ||
fp16_run: !!bool False | ||
epochs: 200 | ||
save_freq: 1 # save ckpt frequency | ||
show_freq: 100 # show training information frequency | ||
load_only_params: !!bool False | ||
seed: !!int 1234 | ||
trainer: VITSTrainer | ||
ngpu: 2 | ||
|
||
#dataloader | ||
dataset_class: VITSDataset | ||
sampling_rate: !!int 24000 | ||
vits_hop_size: !!int 240 | ||
spec_max_len: !!int 240 | ||
sort: !!bool True | ||
dump_dir: dump | ||
num_workers: !!int 4 | ||
batch_size: !!int 12 | ||
drop_last: !!bool True | ||
rm_long_utt: !!bool False # remove too long utterances from metadata | ||
max_utt_duration: !!float 10.0 # max utterance duration (seconds) | ||
|
||
|
||
# decoder params | ||
decoder_params: | ||
spk_emb_dim: 256 | ||
prosodic_rep_type: continuous | ||
prosodic_net: | ||
hidden_dim: 192 | ||
input_dim: !!int 256 | ||
spec_channels: !!int 513 | ||
inter_channels: !!int 192 | ||
hidden_channels: !!int 192 | ||
filter_channels: !!int 768 | ||
n_heads: !!int 2 | ||
n_layers: !!int 6 | ||
kernel_size: !!int 3 | ||
p_dropout: !!float 0.1 | ||
resblock : 1 | ||
resblock_kernel_sizes: [3,7,11] | ||
resblock_dilation_sizes: [[1,3,5], [1,3,5], [1,3,5]] | ||
upsample_rates: [10,6,2,2] | ||
upsample_initial_channel: !!int 512 | ||
upsample_kernel_sizes: [20, 12, 4, 4] | ||
n_layers_q: !!int 3 | ||
use_spectral_norm: !!bool False | ||
filter_length: !!int 1024 | ||
n_mels_channels: !!int 80 | ||
win_length: !!int 1024 | ||
hop_length: !!int 240 | ||
sampling_rate: !!int 24000 | ||
segment_size: !!int 9600 | ||
|
||
|
||
|
||
|
||
#optimizer & scheduler | ||
optimizer: | ||
generator: | ||
lr: !!float 1e-4 | ||
betas: [0.8,0.99] | ||
eps: !!float 1e-9 | ||
discriminator: | ||
lr: !!float 1e-4 | ||
betas: [0.8,0.99] | ||
eps: !!float 1e-9 | ||
scheduler: | ||
generator: | ||
lr_decay: !!float 0.999875 | ||
discriminator: | ||
lr_decay: !!float 0.999875 | ||
|
||
# loss hyper-parameters | ||
losses: | ||
mel: !!int 45 | ||
kl: !!int 1 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters