utkuozbulak / pytorch-cnn-visualizations

Pytorch implementation of convolutional neural network visualization techniques
MIT License
7.88k stars 1.49k forks source link

Question About gradcam.py #66

Closed Bear-kai closed 4 years ago

Bear-kai commented 4 years ago

L81: cam=np.ones(target.shape[1:], dtype=np.float32) # Why not np.zeros()?

narrowsnap commented 4 years ago

You can find in #11.

Bear-kai commented 4 years ago

@narrowsnap Thanks, get it !

utkuozbulak commented 4 years ago

Thank you for the answer @narrowsnap !