Create vocoder/config.yaml
Browse files- vocoder/config.yaml +39 -0
vocoder/config.yaml
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
feature_extractor:
|
| 2 |
+
class_path: vocos.feature_extractors.MelSpectrogramFeatures
|
| 3 |
+
init_args:
|
| 4 |
+
sample_rate: 24000
|
| 5 |
+
n_fft: 1024
|
| 6 |
+
hop_length: 256
|
| 7 |
+
n_mels: 100
|
| 8 |
+
padding: center
|
| 9 |
+
|
| 10 |
+
backbone:
|
| 11 |
+
class_path: vocos.models.VocosBackbone
|
| 12 |
+
init_args:
|
| 13 |
+
input_channels: 100
|
| 14 |
+
dim: 512
|
| 15 |
+
intermediate_dim: 1536
|
| 16 |
+
num_layers: 8
|
| 17 |
+
|
| 18 |
+
head:
|
| 19 |
+
class_path: vocos.heads.ISTFTHead
|
| 20 |
+
init_args:
|
| 21 |
+
dim: 512
|
| 22 |
+
n_fft: 1024
|
| 23 |
+
hop_length: 256
|
| 24 |
+
padding: center
|
| 25 |
+
|
| 26 |
+
head_48k:
|
| 27 |
+
class_path: vocos.heads.ISTFTHead
|
| 28 |
+
init_args:
|
| 29 |
+
dim: 512
|
| 30 |
+
n_fft: 1024
|
| 31 |
+
hop_length: 256
|
| 32 |
+
padding: center
|
| 33 |
+
|
| 34 |
+
upsampler:
|
| 35 |
+
class_path: linacodec.vocoder.upsampler_block.UpSamplerBlock
|
| 36 |
+
init_args:
|
| 37 |
+
in_channels: 512
|
| 38 |
+
upsample_factors: [2, 1]
|
| 39 |
+
kernel_sizes: [8, 8]
|