PA-SAM: Prompt Adapter SAM for High-Quality Image Segmentation

Zhaozhi Xie, Bochen Guan, Weihao Jiang, Muyang Yi, Yue Ding +2 more
1/23/2024
cs.CVeess.IV

Official code: xzz2/pa-sam (99 stars, last commit 2024-03-14).

Abstract

The Segment Anything Model (SAM) has exhibited outstanding performance in various image segmentation tasks. Despite being trained with over a billion masks, SAM faces challenges in mask prediction quality in numerous scenarios, especially in real-world contexts. In this paper, we introduce a novel prompt-driven adapter into SAM, namely Prompt Adapter Segment Anything Model (PA-SAM), aiming to enhance the segmentation mask quality of the original SAM. By exclusively training the prompt adapter, PA-SAM extracts detailed information from images and optimizes the mask decoder feature at both sparse and dense prompt levels, improving the segmentation performance of SAM to produce high-quality masks. Experimental results demonstrate that our PA-SAM outperforms other SAM-based methods in high-quality, zero-shot, and open-set segmentation. We're making the source code and models available at https://github.com/xzz2/pa-sam.

View on arXivView PDF

Code Implementations(1)

xzz2/pa-samOfficial100%

PA-SAM: Prompt Adapter SAM for High-quality Image Segmentation

995Shell, PythonJan 20, 20242 years ago

Similar Papers

Cite this paper

@article{xie2024pasam,
  title  = {PA-SAM: Prompt Adapter SAM for High-Quality Image Segmentation},
  author = {Zhaozhi Xie and Bochen Guan and Weihao Jiang and Muyang Yi and Yue Ding and Hongtao Lu and Lei Zhang},
  year   = {2024},
  eprint = {2401.13051},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.13051v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.13051.svg)](https://codeofpaper.com/paper/2401.13051)

Discussion