Browse Source

fix error when batch size = 1

master
ntt123 4 years ago
parent
commit
14dbc37497
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      model.py

+ 1
- 1
model.py View File

@ -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(

Loading…
Cancel
Save