Skip to content

[CVPR'22] Official PyTorch implementation of Integrative Few-Shot Learning for Classification and Segmentation

License

Notifications You must be signed in to change notification settings

dahyun-kang/ifsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integrative Few-Shot Learning
for Classification and Segmentation



result

This repo is the official implementation of the CVPR 2022 paper: Integrative Few-Shot Learning for Classification and Segmentation.

📜 BibTex source

If you find our code or paper useful, please consider citing our paper:

@inproceedings{kang2022ifsl,
  author   = {Kang, Dahyun and Cho, Minsu},
  title    = {Integrative Few-Shot Learning for Classification and Segmentation},
  booktitle= {Proceedings of the {IEEE/CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},
  year     = {2022}
}

⚙️ Conda environmnet installation

This project is built upon the following environment:

The package requirements can be installed via environment.yml, which includes

conda env create --name ifsl_pytorch1.7.0 --file environment.yml -p YOURCONDADIR/envs/ifsl_pytorch1.7.0
conda activate ifsl_pytorch1.7.0

Make sure to replace YOURCONDADIR in the installation path with your conda dir, e.g., ~/anaconda3

📚 Datasets

Download the datasets by following the file structure below and set args.datapath=YOUR_DATASET_DIR:

    YOUR_DATASET_DIR/
    ├── VOC2012/
    │   ├── Annotations/
    │   ├── JPEGImages/
    │   ├── ...
    ├── COCO2014/
    │   ├── annotations/
    │   ├── train2014/
    │   ├── val2014/
    │   ├── ...
    ├── ...

We follow the dataset protocol of HSNet and PFENet.

🔍 Related repos

Our project refers to and heavily borrows some the codes from the following repos:

  • [PANet]: Wang et al., Few-shot image semantic segmentation with prototype alignment, ICCV'19.
  • [PFENet]: Tian et al., Prior guided feature enrichment network for few-shot segmentation, TPAMI'20.
  • [HSNet]: Min et al., Hypercorrelation squeeze for few-shot segmentation, ICCV'21.

🙇 Acknowledgements

This work was supported by Samsung Advanced Institute of Technology (SAIT) and also by Center for Applied Research in Artificial Intelligence (CARAI) grant funded by DAPA and ADD (UD190031RD). We also thank Ahyun Seo and Deunsol Jung for their helpful discussion.

Releases

No releases published

Packages

No packages published

Languages