mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
fix speaker encoder model initialization
This commit is contained in:
1 parent
10de40bba1
commit
18e76a2309
1 file changed
+2
-2
@@ -9,6 +9,6 @@ def to_camel(text):
|
||||
|
||||
|
||||
def setup_model(c):
|
||||
model = SpeakerEncoder(c.model["input_dim"], c.model["proj_dim"],
|
||||
c.model["lstm_dim"], c.model["num_lstm_layers"])
|
||||
model = SpeakerEncoder(c.model_params["input_dim"], c.model_params["proj_dim"],
|
||||
c.model_params["lstm_dim"], c.model_params["num_lstm_layers"])
|
||||
return model
|
||||
Reference in new issue
Block a user