/pytorch-unet-segnet

Pytorch code for Unet and SegNet architectures

Primary LanguagePythonMIT LicenseMIT

pytorch-unet-segnet

These architectures have shown good results in semantic segmentation, image reconstruction (denoising, super-resolution).

Paper File Figure
Unet unet.py Unet
SegNet segnet.py SegNet
ModSegNet modsegnet.py ModSegNet

I would encourage you to use SegNet if you don't see any major performance decrease with Unet: SegNet will be lighter and faster ! SegNet uses maximum unpooling during the upsampling step, reusing the maximum pooling indices from the encoding step. Making the upsampling procedure parameter free, where Unet makes use of transpose convolution (filters) to learn how to upsample.

We provide an updated version of SegNet, which was designed for medical image segmentation: Semi-supervised Learning for Segmentation Under Semantic Constraint, MICCAI 2018