sicara/tf-explain

name 'GradCAM' is not defined

ShowTimeJMJ opened this issue · 2 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.