-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Fix Keras engine module topology to saving #662
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
Fix Keras engine module topology to saving #662
Conversation
Would this cause an issue on Keras version earlier than 2.2? |
Nope, But most are using Keras latest version and Keras notices that topology module is deprecated. |
Got the same problem. It seems Keras default pip3 version does not support topology any-more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GOod
…atterport#662 in the upstream repo from matterport
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed, tried out and can confirm that this fix is workig for keras 2.2
Actually, this does break the code on earlier versions of Keras. >>> keras.__version__
'2.1.6'
>>> from keras.engine import saving
ImportError: cannot import name 'saving' I'll merge it, and then add a check to handle older versions. |
Fix for Issue #566