Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.4 KB

File metadata and controls

49 lines (28 loc) · 1.4 KB

Visulazing Convolution Networks

Requirements

  • Up to date versions of Keras and Theano
  • OpenCV3
  • matplotlib, numpy, jupyter-notebook (recommend using Anaconda)

Configuration

How to use

Get the deconvolution result of your own image, for a specific layer and feature map

target_layer = "convolution2d_11"
feat_map = 12
output = deconv(model, target_layer, feat_map, im)`

Change target_layer and feat_map to what you want.

Results

With receiptive field increases, activated area changes

conv1.png

conv2.png

conv3.png

conv4.png

Different filter map responses for different area of input image

convAnother.png

Back pass from the last fully connected layer (represntation of classfication result)

convCat1.png

convCat2.png

Reference