-
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.
1. ecapa_tdnn inference; 2. fastspeech2 pitch energy inference
- Loading branch information
1 parent
cc81663
commit bfd34d3
Showing
8 changed files
with
210 additions
and
19 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
103 changes: 103 additions & 0 deletions
103
configs/vctk_whisperppgsmall_uttecapatdnn_fs2pitchenergy_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,103 @@ | ||
# 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: whisper_ppg_small | ||
spk_enc: utt_ecapa_tdnn | ||
pros_enc: norm_fastspeech2_pitch_energy | ||
decoder: VITS | ||
mel_type: vits_spec | ||
pros_stats: dump/vctk/train_nodev_all/fastspeech2_pitch_energy/train_nodev_all.npy | ||
|
||
|
||
# training | ||
fp16_run: !!bool False | ||
epochs: 1000 | ||
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 480 | ||
sort: !!bool True | ||
dump_dir: dump | ||
num_workers: !!int 4 | ||
batch_size: !!int 32 | ||
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: 192 | ||
prosodic_rep_type: discrete | ||
prosodic_net: | ||
hidden_dim: 192 | ||
prosodic_bins: !!int 256 | ||
prosodic_stats_path: dump/vctk/train_nodev_all/fastspeech2_pitch_energy/pitch_energy_min_max.npy | ||
input_dim: !!int 768 | ||
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
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