File size: 334 Bytes
14cff58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from dataclasses import dataclass


@dataclass
class GSTHyperparameters:
    E = 512

    # reference encoder
    ref_enc_filters = [32, 32, 64, 64, 128, 128]

    # style token layer
    token_num = 10
    # token_emb_size = 256
    num_heads = 8

    n_mels = 256  # Number of Mel banks to generate


hparams = GSTHyperparameters()