Downloads · 30 days
0
buddhi19/MambaFCS
MambaFCS is a machine learning model from buddhi19. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Apr 7, 2026
Repo size
1.7 GB
Likes
3
Public
Click a slice to open those files.
.pth1.7 GB · 100%
From the Hugging Face model README
annotations/MambaFCS.ipynbReady to push the boundaries of change detection? Let's go.
Semantic Change Detection in remote sensing is tough: seasonal shifts, lighting variations, and severe class imbalance constantly trip up traditional methods.
Mamba-FCS changes the game:
Remote sensing change detection suffers from appearance shifts (illumination, seasonal phenology, atmospheric effects).
Purely spatial feature fusion can overfit to texture/color changes, while frequency-domain cues capture structure and boundaries more consistently.
Mamba-FCS explicitly combines:
This spatio–frequency + change-guided design is a key reason for strong rare-class performance and cleaner semantic boundaries.
Feed in bi-temporal images T1 and T2:
Simple. Smart. Superior.
Pretrained Mamba-FCS checkpoints are now hosted on Hugging Face: buddhi19/MambaFCS.
Use these weights directly for inference and evaluation, or keep them alongside your experiment checkpoints for quick benchmarking.
| Model | Links |
|---|---|
| VMamba-Tiny | Zenodo • GDrive • BaiduYun |
| VMamba-Small | Zenodo • GDrive • BaiduYun |
| VMamba-Base | Zenodo • GDrive • BaiduYun |
Set pretrained_weight_path in your YAML to the downloaded .pth.
git clone https://github.com/Buddhi19/MambaFCS.git
cd MambaFCS
conda create -n mambafcs python=3.10 -y
conda activate mambafcs
pip install --upgrade pip
pip install -r requirements.txt
pip install pyyaml
cd kernels/selective_scan
pip install .
cd ../../..
(Pro tip: match your torch CUDA version with nvcc/GCC if you hit issues.)
Plug-and-play support for SECOND and Landsat-SCD.
/path/to/SECOND/
├── train/
│ ├── A/ # T1 images
│ ├── B/ # T2 images
│ ├── labelA/ # T1 class IDs (single-channel)
│ └── labelB/ # T2 class IDs
├── test/
│ ├── A/
│ ├── B/
│ ├── labelA/
│ └── labelB/
├── train.txt
└── test.txt
Same idea, with train_list.txt, val_list.txt, test_list.txt.
Must-do: Use integer class maps (not RGB). Convert palettes first.
YAML-driven — clean and flexible.
Edit paths in configs/train_LANDSAT.yaml or configs/train_SECOND.yaml
Fire it up:
# Landsat-SCD
python train.py --config configs/train_LANDSAT.yaml
# SECOND
python train.py --config configs/train_SECOND.yaml
Checkpoints + TensorBoard logs land in saved_models/<your_name>/.
Resume runs? Just flip resume: true and point to optimizer/scheduler states.
<a id="interactive-notebook"></a>
For an interactive workflow, use the notebook annotations/MambaFCS.ipynb.
It is set up for users who want to:
Pair it with the released checkpoints on Hugging Face for fast experimentation without retraining.
Straight from the paper — reproducible out of the box:
| Method | Dataset | OA (%) | F<sub>SCD</sub> (%) | mIoU (%) | SeK (%) |
|---|---|---|---|---|---|
| Mamba-FCS | SECOND | 88.62 | 65.78 | 74.07 | 25.50 |
| Mamba-FCS | Landsat-SCD | 96.25 | 89.27 | 88.81 | 60.26 |
Visuals speak louder: expect dramatically cleaner boundaries and far better rare-class detection.
This work is strongly influenced by prior advances in state-space vision backbones and Mamba-based change detection. In particular, we acknowledge:
If Mamba-FCS fuels your research, please cite:
@ARTICLE{mambafcs,
author={Wijenayake, Buddhi and Ratnayake, Athulya and Sumanasekara, Praveen and Godaliyadda, Roshan and Ekanayake, Parakrama and Herath, Vijitha and Wasalathilaka, Nichula},
journal={IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing},
title={Mamba-FCS: Joint Spatio-Frequency Feature Fusion, Change-Guided Attention, and Sek Inspired Loss for Enhanced Semantic Change Detection in Remote Sensing},
year={2026},
volume={},
number={},
pages={1-19},
keywords={Remote sensing imagery;semantic change detection;separated kappa;spatial–frequency fusion;state-space models},
doi={10.1109/JSTARS.2026.3663066}
}
You might consider citing:
@misc{wijenayake2025precisionspatiotemporalfeaturefusion,
title={Precision Spatio-Temporal Feature Fusion for Robust Remote Sensing Change Detection},
author={Buddhi Wijenayake and Athulya Ratnayake and Praveen Sumanasekara and Nichula Wasalathilaka and Mathivathanan Piratheepan and Roshan Godaliyadda and Mervyn Ekanayake and Vijitha Herath},
year={2025},
eprint={2507.11523},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2507.11523},
}
@INPROCEEDINGS{11217111,
author={Ratnayake, R.M.A.M.B. and Wijenayake, W.M.B.S.K. and Sumanasekara, D.M.U.P. and Godaliyadda, G.M.R.I. and Herath, H.M.V.R. and Ekanayake, M.P.B.},
booktitle={2025 Moratuwa Engineering Research Conference (MERCon)},
title={Enhanced SCanNet with CBAM and Dice Loss for Semantic Change Detection},
year={2025},
volume={},
number={},
pages={84-89},
keywords={Training;Accuracy;Attention mechanisms;Sensitivity;Semantics;Refining;Feature extraction;Transformers;Power capacitors;Remote sensing},
doi={10.1109/MERCon67903.2025.11217111}}