-
Notifications
You must be signed in to change notification settings - Fork 5
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
keras remove Graph #1
Comments
I think late but this is my code:
Note: When you call attn Hope will help you, |
@truonghoang |
I think we change this function line 442 file rnnLSTM.py:
to :
and this function line 346:
to:
because now we don't depend on the Graph. sorry I missed those. |
Keras removes Graph in the new version.
For new keras, they use the functional API instead.
Hence, the code has an error:
from keras.models import Sequential, Graph ImportError: cannot import name 'Graph'
Anyone knows how to modify the codes in 'rnnLSTM' ?
from keras.models import Model
? andHow to modify the codes from line 268 - line 303?
Thanks!
The text was updated successfully, but these errors were encountered: