mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
Change to GMMv2b
This commit is contained in:
1 parent
34e0291ba7
commit
748cbbc403
1 file changed
-1
@@ -161,7 +161,6 @@ class GravesAttention(nn.Module):
|
||||
# attention GMM parameters
|
||||
sig_t = torch.nn.functional.softplus(b_t)+self.eps
|
||||
|
||||
#inv_sig_t = torch.exp(-torch.clamp(b_t, min=-6, max=9)) # variance
|
||||
mu_t = self.mu_prev + torch.nn.functional.softplus(k_t)
|
||||
g_t = torch.softmax(g_t, dim=-1) / sig_t + self.eps
|
||||
|
||||
|
||||
Reference in new issue
Block a user