Skip to content
Snippets Groups Projects
Commit d92d5fbc authored by Nikolai's avatar Nikolai
Browse files

little fix

parent beee5503
No related branches found
No related tags found
No related merge requests found
......@@ -1433,7 +1433,7 @@ class ClassificationProjectRNN(ClassificationProject):
rnn_inputs.append(chan_inp)
rnn_channels.append(channel)
flat_input = Input((len(self.flat_fields),))
if self.dropout_input is None:
if self.dropout_input is not None:
flat_channel = Dropout(rate=self.dropout_input)(flat_input)
else:
flat_channel = flat_input
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment