Closed arundasan91 closed 3 years ago
Hi! DeepExplain uses some low-level API to implement DeepLIFT and LRP. It is not straight forward to port to TF2, although there is an open pull-request which adds compatibility with TF2 when eager execution is disabled. Would this help?
I shall check soon and reply back. Closing this for now.
Hi @marcoancona , I can confirm that tensorflow.compat.v1.disable_eager_execution()
works on TF2.
However I also added this to the code to make it work for my specific problem:
from tensorflow.compat.v1.keras.backend import get_session
from tensorflow.compat.v1.keras import backend as K
Hi @marcoancona , I was wondering if there are any plans to upgrade the codebase to TF2.x. Wasn't able to find any roadmaps on the repo.
Thanks, Arun