utkuozbulak / pytorch-cnn-visualizations

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

how to visual the channels of conv ? #55

Closed ghost closed 5 years ago

ghost commented 5 years ago

how to visual the channels of conv ? now it is only the conv

utkuozbulak commented 5 years ago

It does visualize the channels of conv and not the whole conv. Read the description and the code properly please.

ghost commented 5 years ago

I mean how to visual the channels of layer with CAM ?

utkuozbulak commented 5 years ago

If you mean Grad-CAM, just look at the implementation from gradcam.py. I did not implement pure CAM in this repository. You can follow the paper [2] and implement it yourself.

ghost commented 5 years ago

then how to visual the channels of layer with cam_heatmap? which .py?

utkuozbulak commented 5 years ago

Just check misc_functions.py.

ghost commented 5 years ago

how to select the channel of layer ?

utkuozbulak commented 5 years ago

Please put some effort to understand the code. The is commented enough to allow easier understanding.

ghost commented 5 years ago

FSV``V4`U~4M_84 P$N~`M7

how to do it ? please