You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build MXNet (only tested on the TuSimple version):
git clone --recursive git@github.com:TuSimple/mxnet.git
vim make/config.mk (we should have USE_CUDA = 1, modify USE_CUDA_PATH, and have USE_CUDNN = 1 to enable GPU usage.)
make -j
cd python
python setup.py develop --user
cd train
python train_model.py ../configs/train/train_cityscapes.cfg
The paths/dirs in the .cfg file need to be specified by the user.
Testing
cd test
python predict_full_image.py ../configs/test/test_full_image.cfg
The paths/dirs in the .cfg file need to be specified by the user.
Results:
Modify the result_dir path in the config file to save the label map and visualizations. The expected scores are:
(single scale testing denotes as 'ss' and multiple scale testing denotes as 'ms')
ResNet101-DUC-HDC on CityScapes testset (mIoU): 79.1(ss) / 80.1(ms)
ResNet152-DUC on VOC2012 (mIoU): 83.1(ss)
Citation
If you find the repository is useful for your research, please consider citing:
@article{wang2017understanding,
title={Understanding convolution for semantic segmentation},
author={Wang, Panqu and Chen, Pengfei and Yuan, Ye and Liu, Ding and Huang, Zehua and Hou, Xiaodi and Cottrell, Garrison},
journal={arXiv preprint arXiv:1702.08502},
year={2017}
}