mirror of
https://github.com/wassname/TTS.git
synced 2026-09-08 16:50:36 +08:00
bug fix
This commit is contained in:
@@ -111,7 +111,7 @@ def train(model, criterion, data_loader, optimizer, epoch):
|
||||
# create attention mask
|
||||
N = text_input_var.shape[1]
|
||||
T = mel_spec_var.shape[1] // c.r
|
||||
M = create_attn_mask(N, T, g)
|
||||
M = create_attn_mask(N, T, 0.03)
|
||||
|
||||
# forward pass
|
||||
mel_output, linear_output, alignments =\
|
||||
|
||||
Reference in New Issue
Block a user