therealvul commited on
Commit
28dceb5
·
verified ·
1 Parent(s): 160f9e7

Upload 2 files

Browse files
Files changed (2) hide show
  1. sv5_spk_encoder_config.json +104 -0
  2. svc5_spk_encoder.tar +3 -0
sv5_spk_encoder_config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "lstm",
3
+ "run_name": "mueller91",
4
+ "run_description": "train speaker encoder with voxceleb1, voxceleb2 and libriSpeech ",
5
+ "audio":{
6
+ // Audio processing parameters
7
+ "num_mels": 80, // size of the mel spec frame.
8
+ "fft_size": 1024, // number of stft frequency levels. Size of the linear spectogram frame.
9
+ "sample_rate": 16000, // DATASET-RELATED: wav sample-rate. If different than the original data, it is resampled.
10
+ "win_length": 1024, // stft window length in ms.
11
+ "hop_length": 256, // stft window hop-lengh in ms.
12
+ "frame_length_ms": null, // stft window length in ms.If null, 'win_length' is used.
13
+ "frame_shift_ms": null, // stft window hop-lengh in ms. If null, 'hop_length' is used.
14
+ "preemphasis": 0.98, // pre-emphasis to reduce spec noise and make it more structured. If 0.0, no -pre-emphasis.
15
+ "min_level_db": -100, // normalization range
16
+ "ref_level_db": 20, // reference level db, theoretically 20db is the sound of air.
17
+ "power": 1.5, // value to sharpen wav signals after GL algorithm.
18
+ "griffin_lim_iters": 60,// #griffin-lim iterations. 30-60 is a good range. Larger the value, slower the generation.
19
+ // Normalization parameters
20
+ "signal_norm": true, // normalize the spec values in range [0, 1]
21
+ "symmetric_norm": true, // move normalization to range [-1, 1]
22
+ "max_norm": 4.0, // scale normalization to range [-max_norm, max_norm] or [0, max_norm]
23
+ "clip_norm": true, // clip normalized values into the range.
24
+ "mel_fmin": 0.0, // minimum freq level for mel-spec. ~50 for male and ~95 for female voices. Tune for dataset!!
25
+ "mel_fmax": 8000.0, // maximum freq level for mel-spec. Tune for dataset!!
26
+ "do_trim_silence": true, // enable trimming of slience of audio as you load it. LJspeech (false), TWEB (false), Nancy (true)
27
+ "trim_db": 60 // threshold for timming silence. Set this according to your dataset.
28
+ },
29
+ "reinit_layers": [],
30
+ "loss": "angleproto", // "ge2e" to use Generalized End-to-End loss and "angleproto" to use Angular Prototypical loss (new SOTA)
31
+ "grad_clip": 3.0, // upper limit for gradients for clipping.
32
+ "epochs": 1000, // total number of epochs to train.
33
+ "lr": 0.0001, // Initial learning rate. If Noam decay is active, maximum learning rate.
34
+ "lr_decay": false, // if true, Noam learning rate decaying is applied through training.
35
+ "warmup_steps": 4000, // Noam decay steps to increase the learning rate from 0 to "lr"
36
+ "tb_model_param_stats": false, // true, plots param stats per layer on tensorboard. Might be memory consuming, but good for debugging.
37
+ "steps_plot_stats": 10, // number of steps to plot embeddings.
38
+ "num_speakers_in_batch": 64, // Batch size for training. Lower values than 32 might cause hard to learn attention. It is overwritten by 'gradual_training'.
39
+ "voice_len": 2.0, // size of the voice
40
+ "num_utters_per_speaker": 10, //
41
+ "num_loader_workers": 8, // number of training data loader processes. Don't set it too big. 4-8 are good values.
42
+ "wd": 0.000001, // Weight decay weight.
43
+ "checkpoint": true, // If true, it saves checkpoints per "save_step"
44
+ "save_step": 1000, // Number of training steps expected to save traning stats and checkpoints.
45
+ "print_step": 20, // Number of steps to log traning on console.
46
+ "output_path": "../../OutputsMozilla/checkpoints/speaker_encoder/", // DATASET-RELATED: output path for all training outputs.
47
+ "model": {
48
+ "input_dim": 80,
49
+ "proj_dim": 256,
50
+ "lstm_dim": 768,
51
+ "num_lstm_layers": 3,
52
+ "use_lstm_with_projection": true
53
+ },
54
+ "storage": {
55
+ "sample_from_storage_p": 0.9, // the probability with which we'll sample from the DataSet in-memory storage
56
+ "storage_size": 25, // the size of the in-memory storage with respect to a single batch
57
+ "additive_noise": 1e-5 // add very small gaussian noise to the data in order to increase robustness
58
+ },
59
+ "datasets":
60
+ [
61
+ {
62
+ "name": "vctk_slim",
63
+ "path": "../../../audio-datasets/en/VCTK-Corpus/",
64
+ "meta_file_train": null,
65
+ "meta_file_val": null
66
+ },
67
+ {
68
+ "name": "libri_tts",
69
+ "path": "../../../audio-datasets/en/LibriTTS/train-clean-100",
70
+ "meta_file_train": null,
71
+ "meta_file_val": null
72
+ },
73
+ {
74
+ "name": "libri_tts",
75
+ "path": "../../../audio-datasets/en/LibriTTS/train-clean-360",
76
+ "meta_file_train": null,
77
+ "meta_file_val": null
78
+ },
79
+ {
80
+ "name": "libri_tts",
81
+ "path": "../../../audio-datasets/en/LibriTTS/train-other-500",
82
+ "meta_file_train": null,
83
+ "meta_file_val": null
84
+ },
85
+ {
86
+ "name": "voxceleb1",
87
+ "path": "../../../audio-datasets/en/voxceleb1/",
88
+ "meta_file_train": null,
89
+ "meta_file_val": null
90
+ },
91
+ {
92
+ "name": "voxceleb2",
93
+ "path": "../../../audio-datasets/en/voxceleb2/",
94
+ "meta_file_train": null,
95
+ "meta_file_val": null
96
+ },
97
+ {
98
+ "name": "common_voice",
99
+ "path": "../../../audio-datasets/en/MozillaCommonVoice",
100
+ "meta_file_train": "train.tsv",
101
+ "meta_file_val": "test.tsv"
102
+ }
103
+ ]
104
+ }
svc5_spk_encoder.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b67178273ee7ea1cdea4378a3ec9a6e0da93d75238ad641ddb4714e4ef46ea14
3
+ size 114064632