From df4a6443269edf8e94ffb1fe391bed3c7bc00993 Mon Sep 17 00:00:00 2001 From: Eren Golge Date: Fri, 23 Mar 2018 05:18:51 -0700 Subject: [PATCH] bug fix --- layers/tacotron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/tacotron.py b/layers/tacotron.py index 51548287..983855d4 100644 --- a/layers/tacotron.py +++ b/layers/tacotron.py @@ -253,7 +253,7 @@ class Decoder(nn.Module): B = inputs.size(0) # Run greedy decoding if memory is None - greedy = ~self.training + greedy = not self.training if memory is not None: # Grouping multiple frames if necessary