Skip to content

Latest commit

 

History

History

PSPNet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Pyramid Scene Parsing Network

Contents

Summary

The goal of Scene Parsing is to assign each pixel in the image a category label. Scene Parsing provides complete understanding of the scene - predicts label, location and shape of each element.

Disadvantages of using FCN Baseline

  • Mismatched Relationship - Lack of the ability to collect contextual information increases the chance of misclassification.

  • Confusion Categories - Existance of classes which are similar in appearance.

  • Inconspicuous Classes - The size of the object and its importance may not be directly proportional. For example, a very small object is often of great importance.

Pyramid Pooling Module

In deep neural networks, the size of receptive field can roughly indicates how much we use context information. Theoretically, the receptive field of ResNet is already larger than the input image, that the empirica; receptive field of CNN is much smaller than the theoretical one especially on high-level layers.

Global average pooling is a goodbaseline model as the global contextual prior, which is in image classification tasks. In a complex case, this strategy is not enough to cover the necessary information. Therefore, Global Context information along with sub-region context is more helpful to distinguish among various categories.

Feature maps in different levels generated by pyramid pooling are flattened and concatenated and fed into a fully connected layer for classification. This global prior removes the fixed-size contraint of CNN for image classification.

The pyramid pooling module involves hierarchical global prior. containing information with different scales and varying among different sub-regions. The module fuses features under four different pyramid scales.

Architecture

Layout

Given the input image, a pretrained ResNet model with dilated network stratefy is used to extract the feature map. On this map, the pyramid pooling module is used to gather context information. Using 4-level pyramid, the poolign kernels cover different sub-regions of the image and then fused together as the global prior. The global prior is catenated with the original feature map and fed into a convolution layer to generate the final prediction map.

PSPNet provides an effective global prior for pixel-level scene parsing.

Implementation