Home

Awesome

ACR

Official repository for CVPR 2023 paper: WSSS via Adversarial Learning of Classifier and Reconstructor by Hyeokjun Kweon and Sung-Hoon Yoon.

Prerequisite

conda env create -f wsss_recon.yaml

Usage

With the following code, you can generate CAMs (seeds) to train the segmentation network. For the further refinement, refer RIB

Training

python train_pl.py --name [exp_name] --exp recon_cvpr23

Evaluation for CAM

python evaluation.py --name [exp_name] --task cam --dict_dir dict

Citation

If our code be useful for you, please consider citing our CVPR 2023 paper using the following BibTeX entry.

@inproceedings{kweon2023weakly,
  title={Weakly Supervised Semantic Segmentation via Adversarial Learning of Classifier and Reconstructor},
  author={Kweon, Hyeokjun and Yoon, Sung-Hoon and Yoon, Kuk-Jin},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={11329--11339},
  year={2023}
}

You can also check our earlier works published on ICCV 2021 (OC-CSE) and ECCV 2022 (AEFT)!

we heavily borrow the work from AffinityNet repository. Thanks for the excellent codes!

## Reference
[1] J. Ahn and S. Kwak. Learning pixel-level semantic affinity with image-level supervision for weakly supervised semantic segmentation. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018.