name 'GradCAM' is not defined
ShowTimeJMJ opened this issue · 2 comments
ShowTimeJMJ commented
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
RaphaelMeudec commented
@ShowTimeJMJ Could you provide a minimal example that raises the error? Which version of tf-explain are you using?
rao208 commented
@ShowTimeJMJ Maybe you did not import GradCam. Happened with me before.