mirror of https://github.com/coqui-ai/TTS.git
bug fix
This commit is contained in:
parent
f4678cbd6b
commit
9d669d1024
|
@ -44,7 +44,7 @@ class TacotronTrainTest(unittest.TestCase):
|
||||||
stop_targets = (stop_targets.sum(2) >
|
stop_targets = (stop_targets.sum(2) >
|
||||||
0.0).unsqueeze(2).float().squeeze()
|
0.0).unsqueeze(2).float().squeeze()
|
||||||
|
|
||||||
criterion = L1LossMasked().to(device)
|
criterion = L1LossMasked(seq_len_norm=False).to(device)
|
||||||
criterion_st = nn.BCEWithLogitsLoss().to(device)
|
criterion_st = nn.BCEWithLogitsLoss().to(device)
|
||||||
model = Tacotron(
|
model = Tacotron(
|
||||||
num_chars=32,
|
num_chars=32,
|
||||||
|
|
Loading…
Reference in New Issue