mirror of
https://github.com/wassname/TTS.git
synced 2026-09-08 16:50:36 +08:00
linter fix
This commit is contained in:
@@ -313,7 +313,7 @@ class TacotronLoss(torch.nn.Module):
|
||||
output_lens)
|
||||
if self.postnet_alpha > 0:
|
||||
postnet_loss = self.criterion(postnet_output, postnet_target,
|
||||
output_lens)
|
||||
output_lens)
|
||||
else:
|
||||
if self.decoder_alpha > 0:
|
||||
decoder_loss = self.criterion(decoder_output, mel_input)
|
||||
|
||||
Reference in New Issue
Block a user