AlienL / reception_field_visualization

A tool for visual pixel's reception-field in Convolutional Neural Network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reception_field_visualization

A visual tool for CNN feature map pixel reception field: Constructing the net by operators just like in deep-learning framewok. Then use Visualizer to generate the reception-field image of layer you wanted. A simple example can be find in main function.

Prerequisites

  • opencv

Operator Supported

  • conv(input_, kernel_size=3) : Standred Convolution Layer.
  • dilated_conv(input_, rate=1) : Dilated Convolution Layer.

Visualizer

  • rect_size: The Pixel num of Rect in Image.
  • line_width: The Width of Separator Lines.
  • visual(input_): Generate Visible Images and Show.
  • save(path): Save Visible Images in 'path'.
  • show(): Show Visible Images.

TODO

  • User-defined conv stride.
  • User-defined dilated_conv kernel size.

About

A tool for visual pixel's reception-field in Convolutional Neural Network.

License:Apache License 2.0


Languages

Language:Python 100.0%