-
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.
submit_inference, hubert_soft training, scaler for taco_ar and taco_m…
…ol, ling_rep upsample in dataset.py, libritts_hifigan vocoder
- Loading branch information
1 parent
2e15e92
commit 5eb43f5
Showing
17 changed files
with
538 additions
and
24 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
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
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,84 @@ | ||
# experiment | ||
dataset: libritts | ||
train_meta: data/libritts/train_nodev_clean/metadata.csv | ||
dev_meta: data/libritts/dev_clean/metadata.csv | ||
train_set: train_nodev_clean | ||
dev_set: dev_clean | ||
|
||
|
||
# encoder-decoder | ||
ling_enc: hubert_soft | ||
spk_enc: utt_dvec | ||
pros_enc: f0 | ||
decoder: FastSpeech2 | ||
|
||
|
||
# training | ||
fp16_run: !!bool True | ||
epochs: 200 | ||
save_freq: 5 # save ckpt frequency | ||
show_freq: 100 # show training information frequency | ||
load_only_params: !!bool False | ||
seed: !!int 1234 | ||
trainer: FS2Trainer | ||
ngpu: 2 | ||
|
||
#dataloader | ||
sort: !!bool True | ||
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: | ||
max_len: 1000 | ||
max_seq_len: 1000 | ||
spk_emb_dim: 256 | ||
|
||
prenet: | ||
conv_kernel_size: 3 | ||
input_dim: 256 | ||
dropout: 0.1 | ||
postnet: | ||
idim: 80 | ||
odim: 80 | ||
n_layers: 5 | ||
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 | ||
loss: | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# experiment | ||
dataset: libritts | ||
train_meta: data/libritts/train_nodev_clean/metadata.csv | ||
dev_meta: data/libritts/dev_clean/metadata.csv | ||
train_set: train_nodev_clean | ||
dev_set: dev_clean | ||
|
||
|
||
# encoder-decoder | ||
ling_enc: hubert_soft | ||
spk_enc: utt_dvec | ||
pros_enc: f0 | ||
decoder: TacoAR | ||
|
||
|
||
# training | ||
fp16_run: !!bool True | ||
epochs: 200 | ||
save_freq: 2 # save ckpt frequency | ||
show_freq: 10 | ||
load_only_params: !!bool False | ||
seed: !!int 1234 | ||
trainer: TacoARTrainer | ||
ngpu: 2 | ||
|
||
#dataloader | ||
sort: !!bool True | ||
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: | ||
input_dim: 256 | ||
output_dim: 80 | ||
resample_ratio: 1 | ||
spk_emb_integration_type: concat # add or concat | ||
spk_emb_dim: 256 | ||
ar: True | ||
encoder_type: "taco2" | ||
hidden_dim: 1024 | ||
prenet_layers: 2 # if set 0, no prenet is used | ||
prenet_dim: 256 | ||
prenet_dropout_rate: 0.5 | ||
lstmp_layers: 2 | ||
lstmp_dropout_rate: 0.2 | ||
lstmp_proj_dim: 256 | ||
lstmp_layernorm: False | ||
|
||
#optimizer & scheduler | ||
optimizer: | ||
weight_decay: 0.0 | ||
betas: [0.9,0.99] | ||
lr: !!float 1e-4 | ||
scheduler: | ||
num_training_steps: 500000 | ||
num_warmup_steps: 4000 | ||
|
||
# loss hyper-parameters | ||
loss: | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# experiment | ||
dataset: libritts | ||
train_meta: data/libritts/train_nodev_clean/metadata.csv | ||
dev_meta: data/libritts/dev_clean/metadata.csv | ||
train_set: train_nodev_clean | ||
dev_set: dev_clean | ||
|
||
|
||
# encoder-decoder | ||
ling_enc: hubert_soft | ||
spk_enc: utt_dvec | ||
pros_enc: f0 | ||
decoder: TacoMOL | ||
|
||
|
||
# training | ||
fp16_run: !!bool True | ||
epochs: 200 | ||
save_freq: 2 # save ckpt frequency | ||
show_freq: 10 | ||
load_only_params: !!bool False | ||
seed: !!int 1234 | ||
trainer: TacoMOLTrainer | ||
ngpu: 2 | ||
|
||
#dataloader | ||
sort: !!bool True | ||
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) | ||
frames_per_step: !!int 4 | ||
|
||
|
||
# decoder params | ||
decoder_params: | ||
spk_embed_dim: 256 | ||
bottle_neck_feature_dim: 256 | ||
|
||
#optimizer & scheduler | ||
optimizer: | ||
weight_decay: !!float 1e-6 | ||
betas: [0.9,0.99] | ||
lr: !!float 1e-4 | ||
scheduler: | ||
num_training_steps: 500000 | ||
num_warmup_steps: 4000 | ||
|
||
# loss hyper-parameters | ||
loss: | ||
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
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
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.