# Samba **Repository Path**: Bai-opus/Samba ## Basic Information - **Project Name**: Samba - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2026-04-13 - **Last Updated**: 2026-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # [CVPR 2025-Highlight] Samba: A Unified Mamba-based Framework for General Salient Object Detection [[PDF]](https://www.kerenfu.top/sources/CVPR2025_Samba.pdf)|[[中文版]](https://github.com/Jia-hao999/Samba/blob/main/CVPR2025_Samba_Chinese.pdf) ## 🔥 News The extension work of Samba (Samba+: General and Accurate Salient Object Detection via a More Unified Mamba-based Framework) has been released. The codes, models, and results can be found in the [[repository](https://github.com/wz-zhao/Samba-plus)]. ## ✈ Overview We are the first to adapt state space models to SOD tasks, and propose a novel unified framework based on the pure Mamba architecture to flexibly handle general SOD tasks. We propose a saliency-guided Mamba block (SGMB), incorporating a spatial neighboring scanning (SNS) algorithm, to maintain spatial continuity of salient patches, thus enhancing feature representation. We propose a context-aware upsampling (CAU) method to promote hierarchical feature alignment and aggregations by modeling contextual dependencies. ## ✈ Environmental Setups `PyTorch 1.13.1 + CUDA 11.7`. Please install corresponding PyTorch and CUDA versions. VMamba-S backbone weights:[[baidu](https://pan.baidu.com/s/1SaEV237VCzSEn558gEBiXg),提取码:zsxa] Full Samba weights:[[baidu](https://pan.baidu.com/s/15787DVEmW59ftztopv-yMg),提取码:bkvw] [[google](https://drive.google.com/drive/folders/1SdxeZRl6iI4bCBypOQbG1Q5T-Jo-zKGR)] ## ✈ Data Preparation ### 1. RGB SOD For RGB SOD, we employ the following datasets to train our model: the training set of **DUTS** for `RGB SOD`. For testing the RGB SOD task, we use **DUTS**, **ECSSD**, **HKU-IS**, **PASCAL-S**, **DUT-O**. [[baidu](https://pan.baidu.com/s/1oljb1_kkUH7rhWZCy8ic4g),提取码:x7kn] ### 2. RGB-D SOD For RGB-D SOD, we employ the following datasets to train our model concurrently: the training sets of **NJU2K**, **NLPR**, **DUT-RGBD** for `RGB-D SOD`. For testing the RGB SOD task, we use **NJU2K**, **NLPR**, **DUT-RGBD**, **SIP**, **STERE**. [[baidu](https://pan.baidu.com/s/1ibrO3CS7rn7bJUAy8hM9mQ),提取码:8b9c] ### 3. RGB-T SOD For RGB-T SOD, we employ the training set of **VT5000** to train our model, and the testing of **VT5000**, **VT821**, **VT1000** are utilized for testing. [[baidu](https://pan.baidu.com/s/1PKW5d_Yr5NFEnq9Q82HitA),提取码:xhrm] ### 4. VSOD For VSOD, we employ the training sets of **DAVIS**, **DAVSOD**, **FBMS** to train our model concurrently, and the testing of **DAVIS**, **DAVSOD**, **FBMS**, **Seg-V2**, **VOS** are utilized for testing. [[baidu](https://pan.baidu.com/s/1zQ-vuDnSfRzJ1T_T-hh7sA),提取码:kcmu] ### 5. RGB-D VSOD For RGB-D VSOD, we employ the training sets of **RDVS**, **DVisal**, **Vidsod_100** to train our model individually, and the testing of **RDVS**, **DVisal**, **Vidsod_100** are utilized for testing individually. [[baidu](https://pan.baidu.com/s/1VRL3jk7AsQCkL26hwg1rZA),提取码:q9ty] ## ✈ Prediction All evaluated saliency maps are put here:[[baidu](https://pan.baidu.com/s/1NA9_ZtA_M4WHugPt92MrSA),提取码:bdhi] ## ✈ Visual Results ## ✈ Citation If you use Samba in your research or wish to refer our work, please use the following BibTeX entry. ``` @InProceedings{He_2025_CVPR, author = {He, Jiahao and Fu, Keren and Liu, Xiaohong and Zhao, Qijun}, title = {Samba: A Unified Mamba-based Framework for General Salient Object Detection}, booktitle = {Proceedings of the Computer Vision and Pattern Recognition Conference (CVPR)}, month = {June}, year = {2025}, pages = {25314-25324} } ```