Curious about where is the ResNet looking at? This repo visualizes the class specific saliency map or discriminative location. It is MatConvNet re-implementation of Learning Deep Features for Discriminative Localization, Bolei Zhou et. al., without modifying the network or re-training. (Torch re-implementation can be found at this repo.) We look directly through the ResNet to see the world.

Get Started

  • The code relies on vlfeat, and matconvnet, which should be downloaded and built before running the experiments. You can use the following commend to download them.
git clone --recurse-submodules

If you have problem with compiling, please refer to the link.

  • Run the progrem form Matlab:
  • Visualize Multiple Images:
visual('data', 'path/to/your/files', 'num', 30)


Written by Hang Zhang on July 4, 2016

HTML Counter unique visitors since May 2014