TensorBoard
no-op-ul-se commited on
Commit
cf618e5
1 Parent(s): 59ba853

add multivoice checkpoint+streaming

Browse files
README.md CHANGED
@@ -77,12 +77,18 @@ Dataset: [Hi-Fi TTS](https://www.openslr.org/109/) speaker 9017 (John Van Stan).
77
 
78
  Model: RAVE v3, 44.1kHz, block size 2048, 16 latent dimensions.
79
 
80
- ### voice_vctk_b2048_r44100_z16.ts
81
 
82
  Dataset: [CSTR VCTK Corpus](https://datashare.ed.ac.uk/handle/10283/3443) multispeaker read speech dataset.
83
 
84
  Model: RAVE v3, 44.1kHz, block size 2048, 22 latent dimensions.
85
 
 
 
 
 
 
 
86
  ## Birds
87
 
88
  ### birds_motherbird_b2048_r48000_z16.ts
 
77
 
78
  Model: RAVE v3, 44.1kHz, block size 2048, 16 latent dimensions.
79
 
80
+ ### voice_vctk_b2048_r44100_z22.ts
81
 
82
  Dataset: [CSTR VCTK Corpus](https://datashare.ed.ac.uk/handle/10283/3443) multispeaker read speech dataset.
83
 
84
  Model: RAVE v3, 44.1kHz, block size 2048, 22 latent dimensions.
85
 
86
+ ### voice_multivoice_b2048_r48000_z11.ts
87
+
88
+ Dataset: combination of speaking and singing voice datasets: [CSTR VCTK Corpus](https://datashare.ed.ac.uk/handle/10283/3443), [VocalSet](https://zenodo.org/record/1193957), [Children's Song Dataset](https://zenodo.org/records/4785016), [NUS-48E](https://ieeexplore.ieee.org/document/6694316/), [attHACK](https://arxiv.org/abs/2004.04410).
89
+
90
+ Model: RAVE v3 with spectral discriminator, 48kHz, block size 2048, 11 latent dimensions.
91
+
92
  ## Birds
93
 
94
  ### birds_motherbird_b2048_r48000_z16.ts
checkpoints/voice_multi_b2048_r48000/config.gin ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __gin__ import dynamic_registration
2
+ import cached_conv as cc
3
+ from cached_conv import convs
4
+ import rave
5
+ from rave import blocks
6
+ from rave import core
7
+ from rave import dataset
8
+ from rave import descript_discriminator
9
+ from rave import discriminator
10
+ from rave import model
11
+ from rave import pqmf
12
+ import torch
13
+ import torch.nn as nn
14
+
15
+ # Macros:
16
+ # ==============================================================================
17
+ ACTIVATION = @blocks.Snake
18
+ CAPACITY = 96
19
+ DILATIONS = [[1, 3, 9], [1, 3, 9], [1, 3, 9], [1, 3]]
20
+ KERNEL_SIZE = 3
21
+ LATENT_SIZE = 128
22
+ N_BAND = 16
23
+ NOISE_AUGMENTATION = 0
24
+ PHASE_1_DURATION = 50000
25
+ RATIOS = [4, 4, 4, 2]
26
+ SAMPLING_RATE = 48000
27
+
28
+ # Parameters for blocks.AdaptiveInstanceNormalization:
29
+ # ==============================================================================
30
+ # None.
31
+
32
+ # Parameters for variational/blocks.AdaptiveInstanceNormalization:
33
+ # ==============================================================================
34
+ # None.
35
+
36
+ # Parameters for core.AudioDistanceV1:
37
+ # ==============================================================================
38
+ core.AudioDistanceV1.log_epsilon = 1e-07
39
+ core.AudioDistanceV1.multiscale_stft = @core.MultiScaleSTFT
40
+
41
+ # Parameters for model.BetaWarmupCallback:
42
+ # ==============================================================================
43
+ model.BetaWarmupCallback.initial_value = 1e-06
44
+ model.BetaWarmupCallback.log = True
45
+ model.BetaWarmupCallback.target_value = 0.002
46
+ model.BetaWarmupCallback.warmup_len = 20000
47
+
48
+ # Parameters for pqmf.CachedPQMF:
49
+ # ==============================================================================
50
+ pqmf.CachedPQMF.attenuation = 100
51
+ pqmf.CachedPQMF.n_band = %N_BAND
52
+
53
+ # Parameters for cc.Conv1d:
54
+ # ==============================================================================
55
+ cc.Conv1d.bias = False
56
+
57
+ # Parameters for variational/cc.Conv1d:
58
+ # ==============================================================================
59
+ variational/cc.Conv1d.bias = False
60
+
61
+ # Parameters for cc.ConvTranspose1d:
62
+ # ==============================================================================
63
+ cc.ConvTranspose1d.bias = False
64
+
65
+ # Parameters for descript_discriminator.DescriptDiscriminator:
66
+ # ==============================================================================
67
+ descript_discriminator.DescriptDiscriminator.bands = \
68
+ [(0.0, 0.1), (0.1, 0.25), (0.25, 0.5), (0.5, 0.75), (0.75, 1.0)]
69
+ descript_discriminator.DescriptDiscriminator.fft_sizes = [2048, 1024, 512]
70
+ descript_discriminator.DescriptDiscriminator.periods = [2, 3, 5, 7, 11]
71
+ descript_discriminator.DescriptDiscriminator.rates = []
72
+ descript_discriminator.DescriptDiscriminator.sample_rate = 44100
73
+
74
+ # Parameters for variational/blocks.EncoderV2:
75
+ # ==============================================================================
76
+ variational/blocks.EncoderV2.activation = %ACTIVATION
77
+ variational/blocks.EncoderV2.adain = @blocks.AdaptiveInstanceNormalization
78
+ variational/blocks.EncoderV2.capacity = %CAPACITY
79
+ variational/blocks.EncoderV2.data_size = %N_BAND
80
+ variational/blocks.EncoderV2.dilations = %DILATIONS
81
+ variational/blocks.EncoderV2.keep_dim = False
82
+ variational/blocks.EncoderV2.kernel_size = %KERNEL_SIZE
83
+ variational/blocks.EncoderV2.latent_size = %LATENT_SIZE
84
+ variational/blocks.EncoderV2.n_out = 2
85
+ variational/blocks.EncoderV2.ratios = %RATIOS
86
+ variational/blocks.EncoderV2.recurrent_layer = None
87
+ variational/blocks.EncoderV2.spectrogram = None
88
+
89
+ # Parameters for blocks.GeneratorV2:
90
+ # ==============================================================================
91
+ blocks.GeneratorV2.activation = %ACTIVATION
92
+ blocks.GeneratorV2.adain = @blocks.AdaptiveInstanceNormalization
93
+ blocks.GeneratorV2.amplitude_modulation = True
94
+ blocks.GeneratorV2.capacity = %CAPACITY
95
+ blocks.GeneratorV2.causal_convtranspose = True
96
+ blocks.GeneratorV2.data_size = %N_BAND
97
+ blocks.GeneratorV2.dilations = %DILATIONS
98
+ blocks.GeneratorV2.keep_dim = False
99
+ blocks.GeneratorV2.kernel_size = %KERNEL_SIZE
100
+ blocks.GeneratorV2.latent_size = @core.get_augmented_latent_size()
101
+ blocks.GeneratorV2.noise_module = @blocks.NoiseGeneratorV2
102
+ blocks.GeneratorV2.ratios = %RATIOS
103
+ blocks.GeneratorV2.recurrent_layer = None
104
+
105
+ # Parameters for core.get_augmented_latent_size:
106
+ # ==============================================================================
107
+ core.get_augmented_latent_size.latent_size = %LATENT_SIZE
108
+ core.get_augmented_latent_size.noise_augmentation = %NOISE_AUGMENTATION
109
+
110
+ # Parameters for dataset.get_dataset:
111
+ # ==============================================================================
112
+ dataset.get_dataset.augmentations = []
113
+
114
+ # Parameters for convs.get_padding:
115
+ # ==============================================================================
116
+ convs.get_padding.dilation = 1
117
+ convs.get_padding.mode = 'causal'
118
+ convs.get_padding.stride = 1
119
+
120
+ # Parameters for variational/convs.get_padding:
121
+ # ==============================================================================
122
+ variational/convs.get_padding.dilation = 1
123
+ variational/convs.get_padding.mode = 'causal'
124
+ variational/convs.get_padding.stride = 1
125
+
126
+ # Parameters for core.MultiScaleSTFT:
127
+ # ==============================================================================
128
+ core.MultiScaleSTFT.magnitude = True
129
+ core.MultiScaleSTFT.normalized = False
130
+ core.MultiScaleSTFT.num_mels = None
131
+ core.MultiScaleSTFT.random_crop = False
132
+ core.MultiScaleSTFT.sample_rate = %SAMPLING_RATE
133
+ core.MultiScaleSTFT.scales = [2048, 1024, 512, 256, 128]
134
+
135
+ # Parameters for blocks.NoiseGeneratorV2:
136
+ # ==============================================================================
137
+ blocks.NoiseGeneratorV2.activation = %ACTIVATION
138
+ blocks.NoiseGeneratorV2.data_size = %N_BAND
139
+ blocks.NoiseGeneratorV2.hidden_size = 128
140
+ blocks.NoiseGeneratorV2.noise_bands = 5
141
+ blocks.NoiseGeneratorV2.ratios = [2, 2, 2]
142
+
143
+ # Parameters for blocks.normalization:
144
+ # ==============================================================================
145
+ blocks.normalization.mode = 'weight_norm'
146
+
147
+ # Parameters for variational/blocks.normalization:
148
+ # ==============================================================================
149
+ variational/blocks.normalization.mode = 'weight_norm'
150
+
151
+ # Parameters for model.RAVE:
152
+ # ==============================================================================
153
+ model.RAVE.audio_distance = @core.AudioDistanceV1
154
+ model.RAVE.audio_monitor_epochs = 1
155
+ model.RAVE.balancer = None
156
+ model.RAVE.decoder = @blocks.GeneratorV2
157
+ model.RAVE.discriminator = @descript_discriminator.DescriptDiscriminator
158
+ model.RAVE.enable_pqmf_decode = None
159
+ model.RAVE.enable_pqmf_encode = None
160
+ model.RAVE.encoder = @blocks.VariationalEncoder
161
+ model.RAVE.feature_matching_fun = @feature_matching/core.mean_difference
162
+ model.RAVE.freeze_encoder = True
163
+ model.RAVE.gan_loss = @core.hinge_gan
164
+ model.RAVE.input_mode = 'pqmf'
165
+ model.RAVE.is_mel_input = None
166
+ model.RAVE.latent_size = %LATENT_SIZE
167
+ model.RAVE.loss_weights = None
168
+ model.RAVE.multiband_audio_distance = @core.AudioDistanceV1
169
+ model.RAVE.n_bands = 16
170
+ model.RAVE.n_channels = 1
171
+ model.RAVE.num_skipped_features = 1
172
+ model.RAVE.output_mode = 'pqmf'
173
+ model.RAVE.phase_1_duration = %PHASE_1_DURATION
174
+ model.RAVE.pqmf = @pqmf.CachedPQMF
175
+ model.RAVE.sampling_rate = %SAMPLING_RATE
176
+ model.RAVE.spectrogram = None
177
+ model.RAVE.update_discriminator_every = 4
178
+ model.RAVE.valid_signal_crop = True
179
+ model.RAVE.warmup_quantize = None
180
+ model.RAVE.weights = {'feature_matching': 20}
181
+
182
+ # Parameters for blocks.Snake:
183
+ # ==============================================================================
184
+ # None.
185
+
186
+ # Parameters for variational/blocks.Snake:
187
+ # ==============================================================================
188
+ # None.
189
+
190
+ # Parameters for dataset.split_dataset:
191
+ # ==============================================================================
192
+ dataset.split_dataset.max_residual = 1000
193
+
194
+ # Parameters for blocks.VariationalEncoder:
195
+ # ==============================================================================
196
+ blocks.VariationalEncoder.beta = 1.0
197
+ blocks.VariationalEncoder.encoder = @variational/blocks.EncoderV2
checkpoints/voice_multi_b2048_r48000/version_0/checkpoints/last.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a02d2d61e58dfad6c30f476a7c2e7396e0285a6fbf890dcf135dfbadb28b36c7
3
+ size 898749315
checkpoints/voice_multi_b2048_r48000/version_0/events.out.tfevents.1713292613.honest-annie.1422133.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a61cfcc0020dfe3f8b41ee4349c4d31759d5efbd2de9c8d80f7bd68364531f2
3
+ size 623605058
checkpoints/voice_multi_b2048_r48000/version_0/hparams.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
voice-multi-b2048-r48000-z11.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a1b28220e41a9148147286ea80f7286c8c249862639ba985f776492d4631845
3
+ size 150205512