Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: Yu-zhengbo
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 5.83 MB
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 11 months ago · Last pushed 9 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

Mamba Meets Diffusion: SegRoadv3 for Fine-Grained Road Extraction in Remote Sensing Imagery

Zhengbo Yu, Zhe Chen, binbin Li, RuiTing Hu, Xingyu Bai, Qiaoran He, Li Sun, Zhongchang Sun, Keyan Xiao, Huadong Guo Under Review

Abstract

This paper proposes SegRoadv3, a novel road extraction model that integrates state space modeling with diffusion-based generation for remote sensing imagery. Unlike conventional methods that rely on direct pixel-wise classification, SegRoadv3 formulates road extraction as a progressive denoising process, reconstructing complete and coherent road structures from randomly perturbed inputs. The model employs a Deformable State Space backbone (DSMamba) to effectively capture global dependencies and directional continuity in road patterns. In the decoding phase, we introduce a Diagonal Mamba (DiagMamba) module to enhance fine-grained structural representations through multi-step denoising. Additionally, a Pixel Connectivity Structure (PCS) is incorporated as an auxiliary supervision strategy to explicitly improve connectivity in occluded or fragmented regions. Extensive experiments demonstrate that SegRoadv3 achieves new state-of-the-art (SOTA) performance, reaching an IoU of 71.06% on the DeepGlobe dataset and 66.57% on the CHN6-CUG dataset. Moreover, SegRoadv3 significantly enhances the completeness and continuity of road extraction results. To the best of our knowledge, this is the first attempt to integrate Mamba and diffusion mechanisms for road extraction, providing a new paradigm for structure-aware and generative segmentation in remote sensing applications. The corresponding code is publicly available at https://github.com/Yu-zhengbo/segsRoad.

alt text

Installation

See MMSegmentation installation instructions and VMmamba installation instructions

Then ````python cd mmseg/models/backbones/mamba/damamba/ops_dcnv3

pip install -e .

cd mmseg/models/backbones/mamba/damamba/selective_scan

pip install -e . ````

Getting Started

Training & Evaluation in Command Line

Training

````python

Single-GPU training (recommended)

python tools/train.py configs/segroad/deep_segroadv3.py --amp ````

Evaluation

python python tools/test.py configs/segroad/deep_segroadv3.py /path/to/checkpoint_file

Inference with a trained model

python python demo/image_demo_with_inferencer.py /path/to/image_or_dir/ configs/segroad/deep_segroadv3.py --checkpoint /path/to/checkpoint_file --output-dir /path/to/output_dir

Citing SegRoadv3

As the paper is under review, we will update the citation information when the paper is accepted. Mamba Meets Diffusion: SegRoadv3 for Fine-Grained Road Extraction in Remote Sensing Imagery

Reference

This project is developed with reference to MMSegmentation, and VMamba. We would like to express our gratitude to the authors of MMSegmentation, DSMamba and VMamba for their contributions, which served as a valuable foundation and inspiration for our work. If you find this project helpful, please also consider citing or exploring the original repositories.

Owner

  • Login: Yu-zhengbo
  • Kind: user

So vegetable a bird hhh!

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - name: "MMSegmentation Contributors"
title: "OpenMMLab Semantic Segmentation Toolbox and Benchmark"
date-released: 2020-07-10
url: "https://github.com/open-mmlab/mmsegmentation"
license: Apache-2.0

GitHub Events

Total
  • Watch event: 6
  • Push event: 10
  • Public event: 1
  • Pull request event: 8
  • Fork event: 1
Last Year
  • Watch event: 6
  • Push event: 10
  • Public event: 1
  • Pull request event: 8
  • Fork event: 1

Dependencies

.github/workflows/deploy.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.circleci/docker/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
docker/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
docker/serve/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
requirements/albu.txt pypi
  • albumentations >=0.3.2
requirements/docs.txt pypi
  • docutils ==0.16.0
  • myst-parser *
  • sphinx ==4.0.2
  • sphinx_copybutton *
  • sphinx_markdown_tables *
  • urllib3 <2.0.0
requirements/mminstall.txt pypi
  • mmcv >=2.0.0rc4,<2.2.0
  • mmengine >=0.5.0,<1.0.0
requirements/multimodal.txt pypi
  • ftfy *
  • regex *
requirements/optional.txt pypi
  • cityscapesscripts *
  • diffusers *
  • einops ==0.3.0
  • imageio ==2.9.0
  • imageio-ffmpeg ==0.4.2
  • invisible-watermark *
  • kornia ==0.6
  • nibabel *
  • omegaconf ==2.1.1
  • pudb ==2019.2
  • pytorch-lightning ==1.4.2
  • streamlit >=0.73.1
  • test-tube >=0.7.5
  • timm *
  • torch-fidelity ==0.3.0
  • torchmetrics ==0.6.0
  • transformers ==4.19.2
requirements/readthedocs.txt pypi
  • mmcv >=2.0.0rc1,<2.1.0
  • mmengine >=0.4.0,<1.0.0
  • prettytable *
  • scipy *
  • torch *
  • torchvision *
requirements/runtime.txt pypi
  • matplotlib *
  • numpy *
  • packaging *
  • prettytable *
  • scipy *
requirements/tests.txt pypi
  • codecov * test
  • flake8 * test
  • ftfy * test
  • interrogate * test
  • pytest * test
  • regex * test
  • xdoctest >=0.10.0 test
  • yapf * test
requirements.txt pypi
setup.py pypi
mmseg/models/backbones/mamba/damamba/ops_dcnv3/setup.py pypi
mmseg/models/backbones/mamba/damamba/selective_scan/setup.py pypi
  • einops *
  • ninja *
  • packaging *
  • torch *
mmseg/models/backbones/mamba/vmamba/kernels/selective_scan/setup.py pypi
  • einops *
  • ninja *
  • packaging *
  • torch *