Open Tobbe02 opened 6 years ago
Hey, I am trying to add a Dropout-Layer to a Readout Model like this:
rnn = RecurrentSequential(readout='add', teacher_force=True, return_sequences=True) rnn.add(LSTMCell(10, input_dim=4)) rnn.add(LSTMCell(10)) rnn.add(Dropout(0.2)) rnn.add(LSTMCell(4))
but since Readout only works with Theano and the Dropout-Layer only works with Tensorflow, I somehow got stuck. Does anybody have any suggestions? :) Thanks in advance!
Hey, I am trying to add a Dropout-Layer to a Readout Model like this:
but since Readout only works with Theano and the Dropout-Layer only works with Tensorflow, I somehow got stuck. Does anybody have any suggestions? :) Thanks in advance!