mirror of https://github.com/coqui-ai/TTS.git
fix speaker encoder model initialization
This commit is contained in:
parent
10de40bba1
commit
18e76a2309
|
@ -9,6 +9,6 @@ def to_camel(text):
|
||||||
|
|
||||||
|
|
||||||
def setup_model(c):
|
def setup_model(c):
|
||||||
model = SpeakerEncoder(c.model["input_dim"], c.model["proj_dim"],
|
model = SpeakerEncoder(c.model_params["input_dim"], c.model_params["proj_dim"],
|
||||||
c.model["lstm_dim"], c.model["num_lstm_layers"])
|
c.model_params["lstm_dim"], c.model_params["num_lstm_layers"])
|
||||||
return model
|
return model
|
Loading…
Reference in New Issue