Skip to content

Exploring Deeper! Segment Anything Model with Depth Perception for Camouflaged Object Detection, ACM Multimedia (MM), 2024

Notifications You must be signed in to change notification settings

guobaoxiao/DSAM

Repository files navigation

Exploring Deeper! Segment Anything Model with Depth Perception for Camouflaged Object Detection

Zhenni Yu, Xiaoqin Zhang, Li Zhao, Yi Bin, Guobao Xiao ACM MM, 2024

 Comparison of our COMPrompter and other methods in COD

Usage

Installation

git clone https://github.com/guobaoxiao/DSAM
cd DSAM

environment

conda env create -f environment.yaml

From datasets to npz

you can load down the COD datasets and run this to get npz for train.

python pre_npz.py

Weights

  • pre-weigth: download the weight of sam from here, the weight of pvt form xxx, put into 'work_dir_cod/SAM/'

  • DSAM: download the weight of well-trained DSAM, put into 'work_dir_cod/DSAM'

The predicted image

Train

python Mytrain.py

Test

python Mytest.py

Translate npz to img

python transformer_nzp_2_gt.py

eval

python MSCAF_COD_evaluation/evaluation.py

Citation

If you find this project useful, please consider citing:

@inproceedings{yu2024exploring,
title={Exploring Deeper! Segment Anything Model with Depth Perception for Camouflaged Object Detection},
author={Zhenni Yu and Xiaoqin Zhang and LiZhao and Yi Bin and Guobao Xiao},
booktitle={ACM Multimedia 2024},
year={2024},
url={https://openreview.net/forum?id=d4A0Cw1gVS}
}

About

Exploring Deeper! Segment Anything Model with Depth Perception for Camouflaged Object Detection, ACM Multimedia (MM), 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages