SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.12192 · 2024

Pan-Mamba: Effective pan-sharpening with State Space Model

arXiv · PDF · Open in the Atlas

Code that ran

12 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 11 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.12192.json · badge: /api/ran/2402.12192.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
alexhe101/pan-mamba canonical (classifier label)
classifier basis: census
12 ran · 1 no recorded run
FunctionStatusWhere it lives
default_conv Ran
ran; our contract draft was wrong, not the code
alexhe101/pan-mamba/pan-sharpening/model/CDC.py
pointer only (licence: NONE) · get_code("c121fed8178cca17")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dwt_init Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/dwte.py
pointer only (licence: NONE) · get_code("0f828f7a883480ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mean Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/thops.py
pointer only (licence: NONE) · get_code("e5786fcae2918427")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

onehot Ran
ran; our contract draft was wrong, not the code
alexhe101/pan-mamba/pan-sharpening/model/thops.py
pointer only (licence: NONE) · get_code("7e39df9fabd27462")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pair Ran
ran, violated the contract we drafted
alexhe101/pan-mamba/pan-sharpening/model/spatial_shift.py
pointer only (licence: NONE) · get_code("e6f9d3b5ad66ee20")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

spatial_shift1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/spatial_shift.py
pointer only (licence: NONE) · get_code("017854db0c4ab907")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

spatial_shift2 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/spatial_shift.py
pointer only (licence: NONE) · get_code("1825e2274eae2758")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

squeeze2d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/modules.py
pointer only (licence: NONE) · get_code("9cb5513ce82423e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sum Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/thops.py
pointer only (licence: NONE) · get_code("2a514ab150c75974")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_3d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/mamba_module.py
pointer only (licence: NONE); the stored copy get_code serves, from gladzhang/Xformer, is pointer only (licence: NONE) · get_code("82a15cc1e46f7e4d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_4d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/mamba_module.py
pointer only (licence: NONE); the stored copy get_code serves, from gladzhang/Xformer, is pointer only (licence: NONE) · get_code("b20f2a5df739a59e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

unsqueeze2d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
alexhe101/pan-mamba/pan-sharpening/model/modules.py
pointer only (licence: NONE) · get_code("c22f033684429769")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

iwt_init Not yet run
unverified (harvested, no recorded run)
alexhe101/pan-mamba/pan-sharpening/model/dwte.py
pointer only (licence: NONE) · get_code("a694b9a973ca731b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, alexhe101/pan-mamba when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 9 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 2 the same month, 4 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
to_3d 80 other papers
31 dated earlier, 1 the same month, 46 later, 2 same year, order not determinable · 18 only as an assembly brick
2003.06792 (2020-03)
Learning Enriched Features for Real Image Restoration and Enhancement
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2111.09881 (2021-11)
Restormer: Efficient Transformer for High-Resolution Image Restoration
and 77 more not named here
to_4d 79 other papers
31 dated earlier, 1 the same month, 45 later, 2 same year, order not determinable · 18 only as an assembly brick
2003.06792 (2020-03)
Learning Enriched Features for Real Image Restoration and Enhancement
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2111.09881 (2021-11)
Restormer: Efficient Transformer for High-Resolution Image Restoration
and 76 more not named here
default_conv 3 other papers
2 dated earlier, 1 later
2004.13824 (2020-04)
Pyramid Attention Networks for Image Restoration
2204.13348 (2022-04)
Deep Generalized Unfolding Networks for Image Restoration
2404.11273 (2024-04)
Training Transformer Models by Wavelet Losses Improves Quantitative and Visual Performance in Single Image Super-Resolution
pair 3 other papers
2 dated earlier, 1 later
2105.03404 (2021-05)
ResMLP: Feedforward networks for image classification with data-efficient training
2105.08050 (2021-05)
Pay Attention to MLPs
mean 2 other papers
1 dated earlier, 1 same year, order not determinable
2108.05301 (2021-08)
Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescaling
aaai_28395 (2024 (year only))
SGNet: Structure Guided Network via Gradient-Frequency Awareness for Depth Map Super-resolution
sum 2 other papers
1 dated earlier, 1 same year, order not determinable
2108.05301 (2021-08)
Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescaling
aaai_28395 (2024 (year only))
SGNet: Structure Guided Network via Gradient-Frequency Awareness for Depth Map Super-resolution
onehot 1 other paper
1 same year, order not determinable
aaai_28395 (2024 (year only))
SGNet: Structure Guided Network via Gradient-Frequency Awareness for Depth Map Super-resolution
spatial_shift1 1 other paper
1 dated earlier
2108.01072 (2021-08)
S$^2$-MLPv2: Improved Spatial-Shift MLP Architecture for Vision
spatial_shift2 1 other paper
1 dated earlier
2108.01072 (2021-08)
S$^2$-MLPv2: Improved Spatial-Shift MLP Architecture for Vision

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Pan-sharpening involves integrating information from low-resolution multi-spectral and high-resolution panchromatic images to generate high-resolution multi-spectral counterparts. While recent advancements in the state space model, particularly the efficient long-range dependency modeling achieved by Mamba, have revolutionized computer vision community, its untapped potential in pan-sharpening motivates our exploration. Our contribution, Pan-Mamba, represents a novel pan-sharpening network that leverages the efficiency of the Mamba model in global information modeling. In Pan-Mamba, we customize two core components: channel swapping Mamba and cross-modal Mamba, strategically designed for efficient cross-modal information exchange and fusion. The former initiates a lightweight cross-modal interaction through the exchange of partial panchromatic and multi-spectral channels, while the latter facilities the information representation capability by exploiting inherent cross-modal relationships. Through extensive experiments across diverse datasets, our proposed approach surpasses state-of-the-art methods, showcasing superior fusion results in pan-sharpening. To the best of our knowledge, this work is the first attempt in exploring the potential of the Mamba model and establishes a new frontier in the pan-sharpening techniques. The source code is available at \url{https://github.com/alexhe101/Pan-Mamba}.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.12192")
get_code_for_paper("2402.12192")
have("2402.12192")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.12192.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.12192.svg)](https://syntology.ai/paper/2402.12192)

Connect an agent — have() is free.