PyTorch implementation of semantic segmentation models
- Pytorch
- torchvision
- numpy
- PIL
- tqdm
- click
I used VOC2012 dataset with additonal labeled data.
.
└── data
└── VOCdevkit
└── VOC2012
├── JPEGImages
| ├── 2007_000027.jpg
| └── ...
└── SegmentationClassAug
├── 2007_000027.png
└── ...
python train.py --model_name=[fcn, deconvnet, pspnet]
python test.py --model_name=[fcn, deconvnet, pspnet] --image_path=(PATH)
- PSPNet evaluation with PSPNet trained 36 epochs (loss: 0.47 ~ 0.50)
Input image | True label | Estimated |