Discriminative Region Suppression for Weakly-Supervised Semantic Segmentation
![](https://www.deeplearningdaily.com/wp-content/uploads/2021/08/discriminative-region-suppression-for-weakly-supervised-semantic-segmentation_6110561a9aac6-375x210.jpeg)
DRS
Official pytorch implementation of our paper: Discriminative Region Suppression for Weakly-Supervised Semantic Segmentation [Paper], Beomyoung Kim, Sangeun Han, and Junmo Kim, AAAI 2021
We propose the discriminative region suppression (DRS) module that is a simple yet effective method to expand object activation regions. DRS suppresses the attention on discriminative regions and spreads it to adjacent non-discriminative regions, generating dense localization maps.
[2021.06.10] we support DeepLab-V3 segmentation network!
Setup
-
Dataset Preparing
# dataset structure VOC2012/ --- Annotations/ --- ImageSets/ --- JPEGImages/ --- SegmentationClassAug/ --- saliency_map/ --- refined_pseudo_segmentation_labels/
-
Requirements
pip install -r requirements.txt
Training & Pseudo Segmentation Labels Generation
- step1 : training the classifier with DRS modules
- step2 : training the refinement network for the