mirror of https://github.com/coqui-ai/TTS.git
guided attn #8
This commit is contained in:
parent
622987771a
commit
80c18684c6
2
train.py
2
train.py
|
@ -106,6 +106,8 @@ def train(model, criterion, data_loader, optimizer, epoch):
|
||||||
|
|
||||||
# create attention mask
|
# create attention mask
|
||||||
# TODO: vectorize
|
# TODO: vectorize
|
||||||
|
print(tet_input_var.shape)
|
||||||
|
print(mel_spec_var.shape)
|
||||||
N = text_input_var.shape[1]
|
N = text_input_var.shape[1]
|
||||||
T = mel_spec_var.shape[1]
|
T = mel_spec_var.shape[1]
|
||||||
M = np.zeros([N, T])
|
M = np.zeros([N, T])
|
||||||
|
|
Loading…
Reference in New Issue