Skip to content

Conversation

gtgalone
Copy link
Contributor

@gtgalone gtgalone commented Jun 9, 2018

Fix for Issue #566

@waleedka
Copy link
Collaborator

Would this cause an issue on Keras version earlier than 2.2?

@gtgalone
Copy link
Contributor Author

Nope, But most are using Keras latest version and Keras notices that topology module is deprecated.

@benoit-cty
Copy link

Got the same problem. It seems Keras default pip3 version does not support topology any-more.
Thanks @gtgalone to point this out, it really help me.

Copy link

@roobooot roobooot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GOod

kheffah added a commit to kheffah/Mask_RCNN that referenced this pull request Jun 29, 2018
Copy link

@LackesLab LackesLab left a 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

@waleedka
Copy link
Collaborator

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.

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

Successfully merging this pull request may close these issues.

5 participants