sicara / tf-explain

Interpretability Methods for tf.keras models with Tensorflow 2.x

Home Page:https://tf-explain.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

name 'GradCAM' is not defined

ShowTimeJMJ opened this issue · comments

NameError Traceback (most recent call last)
in
----> 1 explainer = GradCAM()
2 grid = explainer.explain(data, model, class_index=np.argmax(preds[0]))

NameError: name 'GradCAM' is not defined

@ShowTimeJMJ Could you provide a minimal example that raises the error? Which version of tf-explain are you using?

@ShowTimeJMJ Maybe you did not import GradCam. Happened with me before.