Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropout in Readout Model #99

Open
Tobbe02 opened this issue Jun 20, 2018 · 0 comments
Open

Dropout in Readout Model #99

Tobbe02 opened this issue Jun 20, 2018 · 0 comments

Comments

@Tobbe02
Copy link

Tobbe02 commented Jun 20, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant