Skip to content
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

make keras-vis compatible with TF2.1 #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

macfly1202
Copy link

I make minor change to use TF1 behavior with Keras-Vis.
Some warning still exists but no blocking

I make minor change to use TF1 behavior with Keras-Vis.
@keisen
Copy link
Collaborator

keisen commented Apr 21, 2020

Thank you for this PR!

Before we merge this PR, could you improve something that is to keep comatibility with Keras that is original, not tf.keras.
As following page, Keras support TF1.* and TF2.0., so we believe that keras-vis should also support TF1. .

https://github.com/keras-team/keras#multi-backend-keras-and-tfkeras

@makquel
Copy link

makquel commented Dec 22, 2020

This minor change helps to deal compatibility error from the most recent keras wrapper API.

AttributeError: module 'tensorflow' has no attribute 'get_default_graph'

However, other errors appear with TensorFlow back end.

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.

None yet

3 participants