smaranjitghose / DeepPixel

An open-source Python package for making computer vision and image processing simpler
MIT License
22 stars 37 forks source link

Added GramCAM++ #120

Closed nkpro2000sr closed 4 years ago

nkpro2000sr commented 4 years ago

116

reference : https://arxiv.org/abs/1710.11063

demo : https://colab.research.google.com/drive/15LuhriKDernYecTP_kueQpR_8h3LgvJE?usp=sharing

Basic Demo

from deeppixel.cam import *
gradcampp = GradCAMPP(model, "last_conv_layer_name")
# heat map
gradcampp.plot_heatmap(image)
# superimposed with image
gradcampp.show(image)
SanjayMarreddi commented 4 years ago

@nkpro2000sr Good Work !

smaranjitghose commented 4 years ago

@nkpro2000sr

Some suggestions for improvements:

nkpro2000sr commented 4 years ago

@smaranjitghose

your suggestions are implemented. please check the demo now.