mb / mockingbirdforuse /synthesizer /gst_hyperparameters.py
siyangyuan's picture
Upload 45 files
14cff58
raw
history blame contribute delete
334 Bytes
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()