diff --git a/model.py b/model.py index 4c7d7d2..ec0e9ce 100644 --- a/model.py +++ b/model.py @@ -407,7 +407,7 @@ class Decoder(nn.Module): mel_output, gate_output, attention_weights = self.decode( decoder_input) mel_outputs += [mel_output.squeeze(1)] - gate_outputs += [gate_output.squeeze()] + gate_outputs += [gate_output.squeeze(1)] alignments += [attention_weights] mel_outputs, gate_outputs, alignments = self.parse_decoder_outputs(