Home

Awesome

MT-Segmentation

@misc{mt-segmentation,
    author = {Ansheng You, Zhenhua Chai},
    title = {MT-Segmentation},
    howpublished = {\url{http://git.sankuai.com/users/youansheng/repos/mt-segmentation}},
    year = {2020}
}

This repository provides source code for most deep learning based cv problems. We'll do our best to keep this repository up-to-date. If you do find a problem about this repository, please raise an issue or submit a pull request.

Implemented Papers

QuickStart with TorchCV

Now only support Python3.x, pytorch 1.3.

pip3 install -r requirements.txt
cd lib/exts
sh make.sh

Performances with MT-Segmentation

All the performances showed below fully reimplemented the papers' results.

Semantic Segmentation

ModelBackboneTrainTestmIOUBSItersScripts
PSPNet3x3-Res101trainval78.2084WPSPNet
DeepLabV33x3-Res101trainval79.1384WDeepLabV3
ModelBackboneTrainTestmIOUPixelACCBSItersScripts
PSPNet3x3-Res50trainval41.5280.091615WPSPNet
DeepLabv33x3-Res50trainval42.1680.361615WDeepLabV3
PSPNet3x3-Res101trainval43.6081.301615WPSPNet
DeepLabv33x3-Res101trainval44.1381.421615WDeepLabV3

Commands with MT-Segmentation

Take PSPNet as an example. ("tag" could be any string, include an empty one.)

cd scripts/cityscapes/
bash run_fs_pspnet_cityscapes_seg.sh train tag
cd scripts/cityscapes/
bash run_fs_pspnet_cityscapes_seg.sh train tag
cd scripts/cityscapes/
bash run_fs_pspnet_cityscapes_seg.sh val tag
cd scripts/cityscapes/
bash run_fs_pspnet_cityscapes_seg.sh test tag