ISCAS007 / torchseg

use pytorch to do image semantic segmentation
GNU General Public License v3.0
7 stars 1 forks source link
pytorch semantic-segmentation

torchseg

tag v0.4 use pytorch0.4

use pytorch to do image semantic segmentation

current version use pytorch1.1+ (for DDP and sync batchnorm support)

experiments

net_name backbone midnet suffix dataset note miou(t/v)
pspnet resnet50 psp bilinear cityscapes 1 0.6/0.5
pspent resnet101 psp bilinear cityscapes 1 0.75/0.47
pspent resnet101 psp bilinear cityscapes 3 0.80/0.50
psp_convert resnet101 psp bilinear cityscapes 4 -/-
psp_edge resnet101 psp bilinear cityscapes 3 -/-
  1. 100 epoch
  2. 200 epoch
  3. require GPU number >=2, input_shape=(713,713)

offical result

net_name backbone dataset note miou
pspnet resnet101 voc - 82.6
pspnet resnet101 voc coco 85.4
pspnet resnet101 cityscape - 78.4
pspnet resnet101 cityscape coarse 80.2
pspnet resnet50 ade20k ms 42.78
deeplabv3+ xception voc - 87.8
deeplabv3+ xception voc JFT 89.0

requriments

code reference

blog reference

benchmark

dataset train val test class resolution
cityscapes 2975 500 1525 19 1024x2048
pascal-context 4998 - 5105 59 -
pascal-voc2012 1464 1449 1456 20 -
camvid 369 101 233 11 -

cityscapes

voc2012

rm -rf output/results/VOC2012/Segmentation/comp6_test_cls
mv xxx output/results/VOC2012/Segmentation/comp6_test_cls
tar -czvf results.tgz results

useful script