mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
update model size to paper
This commit is contained in:
+4
-4
@@ -249,10 +249,10 @@ class PostCBHG(nn.Module):
|
||||
self.cbhg = CBHG(
|
||||
mel_dim,
|
||||
K=8,
|
||||
conv_bank_features=80,
|
||||
conv_projections=[160, mel_dim],
|
||||
highway_features=80,
|
||||
gru_features=80,
|
||||
conv_bank_features=128,
|
||||
conv_projections=[256, mel_dim],
|
||||
highway_features=128,
|
||||
gru_features=128,
|
||||
num_highways=4)
|
||||
def forward(self, x):
|
||||
return self.cbhg(x)
|
||||
|
||||
@@ -401,7 +401,7 @@ def main(args):
|
||||
criterion.cuda()
|
||||
criterion_st.cuda()
|
||||
optimizer.load_state_dict(checkpoint['optimizer'])
|
||||
optimizer_st.load_state_dict(checkpoint['optimizer_st'])
|
||||
# optimizer_st.load_state_dict(checkpoint['optimizer_st'])
|
||||
for state in optimizer.state.values():
|
||||
for k, v in state.items():
|
||||
if torch.is_tensor(v):
|
||||
|
||||
Reference in New Issue
Block a user