This repository contains the pytorch codes and trained models described in the AAAI2022 paper "Activation Modulation and Recalibration Scheme for Weakly Supervised Semantic Segmentation".
Authors: Jie Qin, Jie Wu, Xuefeng Xiao, Lujun Li, Xingang Wang.
pip install -r requirements.txt
Download PASCAL VOC 2012 follwing instructions in http://host.robots.ox.ac.uk/pascal/VOC/voc2012/#devkit.
The pretrained model can be download in models.
python run_sample.py --train_amr_pass True --make_cam_pass True --eval_cam_pass True
python run_sample.py --make_cam_pass True --eval_cam_pass True
We would like to thank the irn and the AdvCAM for their open-source projects.