Home

Awesome

CAPL-FSSeg

This repo provides the implementation of CAPL in FS-Seg.

Get Started

Environment

Datasets and Data Preparation

Please prepare the datasets (COCO-20i and PASCAL-5i) by following the instructions of PFENet.

Run Demo / Test with Pretrained Models

Train / Evaluate

Example: Train / Evaluate CAPL with 1-shot on the split 0 of PASCAL-5i:

sh train.sh pascal split0_1shot   

Acknowledgement

We gratefully thank the authors of PANet and PPNet that inspire our implementation.

Citation

If you find this project useful, please consider citing:

@InProceedings{tian2022gfsseg,
    title={Generalized Few-shot Semantic Segmentation},
    author={Zhuotao Tian and Xin Lai and Li Jiang and Shu Liu and Michelle Shu and Hengshuang Zhao and Jiaya Jia},
    booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    year={2022}
}