This repository contains some models for semantic segmentation and the pipeline of training and testing models, implemented in PyTorch.
- Vanilla FCN: FCN32, FCN16, FCN8, in the versions of VGG, ResNet and DenseNet respectively. (Fully convolutional networks for semantic segmentation)
- U-Net (U-net: Convolutional networks for biomedical image segmentation)
- SegNet (Segnet: A deep convolutional encoder-decoder architecture for image segmentation)
- PSPNet (Pyramid scene parsing network)
- GCN (Large Kernel Matters)
- DUC, HDC (understanding convolution for semantic segmentation)
- Deformable Convolution Network (in PSPNet version) (Deformable Convolutional Networks)
Use powerful visualization of TensorBoard for PyTorch. Here to install.
- Go to models directory and set the root path.
- Go to datasets directory and do following the README.
- Adjust the argument settings in train_psp.py (or train_fcn8.py, train_gcn.py) and run it.
I have borrowed some code from these nice repositories: [1], [2]. Thank them for the sharing.
- DeepLab v3
- RefineNet
- CRFAsRNN
- More dataset (e.g. ADE)