Skip to content

Example of building a PSPNet using pytorch for semantic segmentation

Notifications You must be signed in to change notification settings

cheeyeo/PSPNET_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSPNet

Tutorial on building a PSPNet model for semantic segmentation using pytorch framework

The model was trained for 8 epochs and achieved 0.77 mean IOU: training plot

Example of visualization: visualization

Pyramid Pooling Module notes

figure

  • Pyramid Pooling Module helps to capture Features at Multiple scales

  • It takes as input Feature map from the Backbone

  • Condenses information spatially to fixed 2D output

  • Output from PPM with different scales are concatenated to provide multi-scale feature pyramid

  • Skip-connecting the original feature map provides a rich global contextual prior

Auxiliary Branch

Separate auxiliary branch using Layer3 output of Resnet backbones

Auxiliary branch helps to set initial values for residual blocks

Auxiliary branch used only during training and not inference

Auxiliary branch uses similar classifier and loss function of main branch

Alpha is a hyper parameter with a value of 0.4

Additional References

PSPNet example from kaggle

( above example uses the prebuilt smp module's PSPNet model ... )

About

Example of building a PSPNet using pytorch for semantic segmentation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages