-
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.
add use_text_encoder into fastspeech2
- Loading branch information
1 parent
dceaf0f
commit e6074de
Showing
3 changed files
with
100 additions
and
8 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,92 @@ | ||
# 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: ppgvc_f0 | ||
decoder: FastSpeech2 | ||
mel_type: norm_bigvgan_mel | ||
mel_stats: dump/vctk/train_nodev_all/bigvgan_mel/train_nodev_all.npy | ||
vocoder: bigvgan | ||
|
||
# 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: FS2Trainer | ||
ngpu: 1 | ||
|
||
#dataloader | ||
dataset_class: Dataset | ||
sort: !!bool False | ||
dump_dir: dump | ||
num_workers: !!int 8 | ||
batch_size: 32 | ||
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: | ||
use_text_encoder: !!bool False | ||
input_dim: 512 | ||
out_dim: 100 | ||
max_len: 1000 | ||
max_seq_len: 1000 | ||
spk_emb_dim: 256 | ||
prosodic_rep_type: continuous | ||
prosodic_net: | ||
hidden_dim: 256 | ||
prenet: | ||
conv_kernel_size: 3 | ||
input_dim: 512 | ||
dropout: 0.1 | ||
postnet: | ||
idim: 80 | ||
odim: 80 | ||
n_layers: 0 | ||
n_filts: 5 | ||
n_chans: 256 | ||
dropout_rate: 0.5 | ||
transformer: | ||
encoder_layer: 4 | ||
encoder_head: 2 | ||
encoder_hidden: 256 | ||
decoder_layer: 4 | ||
decoder_head: 2 | ||
decoder_hidden: 256 | ||
conv_filter_size: 1024 | ||
conv_kernel_size: [3, 1] | ||
encoder_dropout: 0.1 | ||
decoder_dropout: 0.1 | ||
|
||
#optimizer & scheduler | ||
optimizer: | ||
init_lr: !!float 1e-2 | ||
betas: [0.9,0.99] | ||
weight_decay: 0.0 | ||
scheduler: | ||
warm_up_step: 4000 | ||
anneal_steps: [800000, 900000, 1000000] | ||
anneal_rate: 0.3 | ||
|
||
# loss hyper-parameters | ||
losses: | ||
alpha: 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