Replies: 1 comment 6 replies
-
Isn't that the Make and apply gradcam heatmap example? It seems same to me... The main function is from Github keisen/tf-keras-vis and keras.io/examples Grad-CAM class activation visualization. from keras_cv_attention_models import visualizing, test_images, efficientnet
mm = efficientnet.EfficientNetV2B0()
img = test_images.dog_cat()
superimposed_img, heatmap, preds = visualizing.make_and_apply_gradcam_heatmap(mm, img, layer_name="auto") The 3 returned values are:
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Leondgarse. Do you have any tips on generating heatmaps from your models eg a trained Efficientnet model from you code?
An example of a heatmap I'd be keen to generate is something like in this code
https://github.com/sidml/EfficientNet-GradCam-Visualization?
Beta Was this translation helpful? Give feedback.
All reactions