GradCam: The layer sequential_1 has never been called and thus has no defined output
I have a CNN model and I want to use GradCam to show a heatmap on an image using the model’s last convolutional layer.
Every time I try this, it shows me that the sequential has never been called and hence no output. Tried to use ChatGPT to understand the problem a bit more but no answer.