mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
don't use sigmoid output for tacotron, fix bug for memory queue handling, remove maxout
This commit is contained in:
+1
-3
@@ -36,9 +36,7 @@ class Tacotron(nn.Module):
|
||||
forward_attn, trans_agent, forward_attn_mask,
|
||||
location_attn, separate_stopnet)
|
||||
self.postnet = PostCBHG(mel_dim)
|
||||
self.last_linear = nn.Sequential(
|
||||
nn.Linear(self.postnet.cbhg.gru_features * 2, linear_dim),
|
||||
nn.Sigmoid())
|
||||
self.last_linear = nn.Linear(self.postnet.cbhg.gru_features * 2, linear_dim)
|
||||
|
||||
def forward(self, characters, text_lengths, mel_specs, speaker_ids=None):
|
||||
B = characters.size(0)
|
||||
|
||||
Reference in New Issue
Block a user