Skip to content

redefiningsurgery/GF-SAM

 
 

Repository files navigation

[NeurIPS 2024 Spotlight✨] Official Codes for Bridge the Points: Graph-based Few-shot Segment Anything Semantically

Anqi Zhang1,   Guangyu Gao1*,   Jianbo Jiao2,   Chi Harold Liu1,   Yunchao Wei3

1School of Computer Science, Beijing Institute of Technology
2The MIx group, School of Computer Science, University of Birmingham
3WEI Lab, Institute of Information Science, Beijing Jiaotong University

Paper

PWC PWC PWC PWC PWC PWC

Overview

image
A Graph-based approach that streamlines prompt selection, addresses mask ambiguity, improves generalization of SAM-based Few-shot Semantic Segmentation.

Advantages

  • Training-Free
  • External-Hyperparameter-Free
  • No iterative mask generation
  • Fast inference within 2s per image (NVIDIA RTX 2080Ti)
  • New state-of-the-art performance
  • Effective in various domains

Todo List

  • Detailed discription
  • Gradio Demo
  • Colab Demo

Installation

See installation instructions.

Getting Started

See Preparing Datasets for GF-SAM.

See Getting Started with GF-SAM.

Visualization

Post Gating Process

Post_Gating

Visualization on COCO-20i

Detail coco

One-shot Semantic Segmentation

oss

One-shot Part Segmentation

part

One-shot Segmentation on Various Domains

domain

Citation

@inproceedings{zhang2024bridge,
    title={Bridge the Points: Graph-based Few-shot Segment Anything Semantically},
    author={Zhang, Anqi and Gao, Guangyu and Jiao, Jianbo and Liu, Chi Harold and Wei, Yunchao},
    journal={NeurIPS},
    year={2024}
}

Acknowledgement

Our implementation is based on these repositories: SAM, DINOv2, SegGPT, HSNet, Matcher, SCCNet and detectron2. Thanks for their great work!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Shell 0.5%