PyTorch for Semantic Segmentation
This repository contains some models for semantic segmentation and the pipeline of training and testing models,
implemented in PyTorch
Models
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)
Requirement
PyTorch 0.2.0
TensorBoard for PyTorch. Here to install
Some other libraries (find what you miss when running the code :-P)
Preparation
Go to models directory and set the path of pretrained models in config.py
Go to datasets directory and do following the README
TODO
DeepLab v3
RefineNet
More dataset (e.g. ADE)