Skip to content

Latest commit

 

History

History
 
 

apcnet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

APCNet

Adaptive Pyramid Context Network for Semantic Segmentation

Introduction

Official Repo

Code Snippet

Abstract

Recent studies witnessed that context features can significantly improve the performance of deep semantic segmentation networks. Current context based segmentation methods differ with each other in how to construct context features and perform differently in practice. This paper firstly introduces three desirable properties of context features in segmentation task. Specially, we find that Global-guided Local Affinity (GLA) can play a vital role in constructing effective context features, while this property has been largely ignored in previous works. Based on this analysis, this paper proposes Adaptive Pyramid Context Network (APCNet)for semantic segmentation. APCNet adaptively constructs multi-scale contextual representations with multiple welldesigned Adaptive Context Modules (ACMs). Specifically, each ACM leverages a global image representation as a guidance to estimate the local affinity coefficients for each sub-region, and then calculates a context vector with these affinities. We empirically evaluate our APCNet on three semantic segmentation and scene parsing datasets, including PASCAL VOC 2012, Pascal-Context, and ADE20K dataset. Experimental results show that APCNet achieves state-ofthe-art performance on all three benchmarks, and obtains a new record 84.2% on PASCAL VOC 2012 test set without MS COCO pre-trained and any post-processing.

Results and models

Cityscapes

Method Backbone Crop Size Lr schd Mem (GB) Inf time (fps) Device mIoU mIoU(ms+flip) config download
APCNet R-50-D8 512x1024 40000 7.7 3.57 V100 78.02 79.26 config model | log
APCNet R-101-D8 512x1024 40000 11.2 2.15 V100 79.08 80.34 config model | log
APCNet R-50-D8 769x769 40000 8.7 1.52 V100 77.89 79.75 config model | log
APCNet R-101-D8 769x769 40000 12.7 1.03 V100 77.96 79.24 config model | log
APCNet R-50-D8 512x1024 80000 - - V100 78.96 79.94 config model | log
APCNet R-101-D8 512x1024 80000 - - V100 79.64 80.61 config model | log
APCNet R-50-D8 769x769 80000 - - V100 78.79 80.35 config model | log
APCNet R-101-D8 769x769 80000 - - V100 78.45 79.91 config model | log

ADE20K

Method Backbone Crop Size Lr schd Mem (GB) Inf time (fps) Device mIoU mIoU(ms+flip) config download
APCNet R-50-D8 512x512 80000 10.1 19.61 V100 42.20 43.30 config model | log
APCNet R-101-D8 512x512 80000 13.6 13.10 V100 45.54 46.65 config model | log
APCNet R-50-D8 512x512 160000 - - V100 43.40 43.94 config model | log
APCNet R-101-D8 512x512 160000 - - V100 45.41 46.63 config model | log

Citation

@InProceedings{He_2019_CVPR,
author = {He, Junjun and Deng, Zhongying and Zhou, Lei and Wang, Yali and Qiao, Yu},
title = {Adaptive Pyramid Context Network for Semantic Segmentation},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2019}
}