Skip to content

Conversation

@SuryaThiru
Copy link

No description provided.

@itsmemala
Copy link

itsmemala commented Feb 16, 2022

I've been using this fork and just wanted to note that in order to use the DeepExplain library with a model created with TF2 (without having to re-write existing compile and train code), I had to do the following steps first:

  1. Save the model weights
  2. Add the lines:
    tf.compat.v1.disable_v2_behavior()
    tf.compat.v1.disable_eager_execution()
  3. Build the model using tf.compat.v1
  4. Load the saved model weights

Might be worth adding to documentation as it might be useful to others...

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.

3 participants