-
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
043ebb7
commit cba8783
Showing
11 changed files
with
561 additions
and
501 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# 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: vqwav2vec | ||
spk_enc: utt_dvec | ||
pros_enc: norm_fastspeech2_pitch_energy | ||
decoder: VITS | ||
mel_type: vits_spec | ||
|
||
# training | ||
fp16_run: !!bool True | ||
epochs: 200 | ||
save_freq: 2 # save ckpt frequency | ||
show_freq: 100 # show training information frequency | ||
load_only_params: !!bool False | ||
seed: !!int 1234 | ||
trainer: VITSTrainer | ||
ngpu: 1 | ||
|
||
#dataloader | ||
dataset_class: VITSDataset | ||
sampling_rate: !!int 24000 | ||
vits_hop_size: !!int 240 | ||
sort: !!bool False | ||
dump_dir: dump | ||
num_workers: !!int 8 | ||
batch_size: !!int 16 | ||
drop_last: !!bool True | ||
rm_long_utt: !!bool True # 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_net: | ||
hidden_dim: !!int 192 | ||
prosodic_bins: !!int 256 | ||
prosodic_stats_path: dump/vctk/train_nodev_all/fastspeech2_pitch_energy/pitch_energy_min_max.npy | ||
input_dim: !!int 512 | ||
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 2e-4 | ||
betas: [0.8,0.99] | ||
eps: !!float 1e-9 | ||
discriminator: | ||
lr: !!float 2e-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
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
Oops, something went wrong.