mirror of https://github.com/coqui-ai/TTS.git
bug fix
This commit is contained in:
parent
d61a79db89
commit
3c4dcedbd7
2
train.py
2
train.py
|
@ -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 =\
|
||||
|
|
Loading…
Reference in New Issue