This commit is contained in:
root 2020-01-27 16:28:47 +01:00
parent f4678cbd6b
commit 9d669d1024
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class TacotronTrainTest(unittest.TestCase):
stop_targets = (stop_targets.sum(2) >
0.0).unsqueeze(2).float().squeeze()
criterion = L1LossMasked().to(device)
criterion = L1LossMasked(seq_len_norm=False).to(device)
criterion_st = nn.BCEWithLogitsLoss().to(device)
model = Tacotron(
num_chars=32,