Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

use lstm #31

Open
ancileddu opened this issue Aug 21, 2018 · 0 comments
Open

use lstm #31

ancileddu opened this issue Aug 21, 2018 · 0 comments

Comments

@ancileddu
Copy link

ancileddu commented Aug 21, 2018

Hello, thank you very much for your work. I need to use a level of lstm in workshops/extras/keras-bag-of-words/keras-bow-model.ipynb ..can you help me? I tried to insert
model.add(LSTM(activation='softmax', units=300, recurrent_activation='hard_sigmoid', return_sequences=True)) after the model.add(Dropout(0.5)) but i've the error: Input 0 is incompatible with layer lstm_1: expected ndim=3, found ndim=2
Sorry for my bad english.
Thank you very much. Bye

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

No branches or pull requests

1 participant