-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bi-LTSM's implementation #26
Comments
Yes, I saw this mistake too. |
I do not really understand your comment. If it is wrong, please let me know how to fix it. |
'go_backwoards = True' in lstm_1b is only reverse the input of the lstm_1b, If you not reverse the output of the lstm_1b, for example, now the output is (S'_i, S'_i-1, ... S'_2, S'_1) will be added to (S_1, S_2,...S_i-1,S_i)(the output of the lstm_1). Are your sure your code between line 62 to 64 is to implement a Bi-LSTM or other. If you want to implement a Bi-LSTM it should be:lstm_1 = LSTM(256, return_sequences=True, name='lstm_1')(inner)
|
Now I understand. I modified your Thank you. |
Why not try Bidirectional |
I also wonder why.. Is there any problem with this? |
Are you want to implement a bidirectional LSTM in the Model.py file between line 62 to 64? If the answer is YES. Here are a mistake of the Bi-LTSM's implementation.Did you forget to reverse the last_1b's output before input the add operation?
The text was updated successfully, but these errors were encountered: