SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.05001 · CVPR · 2024

Dual-Scale Transformer for Large-Scale Single-Pixel Imaging

Xin Yuan, Ping Wang, Gang Qu

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 11 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Gang-Qu/HATNet-SPI — 6 of 11
FunctionStatusWhere it lives
ChannelAttention Ran Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("e0a031075ec1461c")
ConvWithCA Ran Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("d419eb2549155465")
EuclideanProj Ran Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("68bdc00a82a8c5ff")
FFN Ran Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("b0152f66bb705e32")
Spatial_Attention Ran Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("970cf8a8f2024327")
Window_Attention Ran Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("41e7b83e7bcc3700")
BasicBlock Not yet run Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("8ff3e6108db162fe")
DSMHSA Not yet run Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("8a691fcd14f1dc0a")
HATNet Not yet run Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("b3a8c5b71f237ae1")
ResidualGroup Not yet run Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("f9900f4cc6495ca9")
TransformerBlock Not yet run Gang-Qu/HATNet-SPI/model/network.py
pointer only (licence: NONE) · get_code("f0be4135088932a4")

Repositories linked to this paper

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

Abstract

Single-pixel imaging (SPI) is a potential computational imaging technique which produces image by solving an illposed reconstruction problem from few measurements captured by a single-pixel detector. Deep learning has achieved impressive success on SPI reconstruction. However, previous poor reconstruction performance and impractical imaging model limit its real-world applications. In this paper, we propose a deep unfolding network with hybrid-attention Transformer on Kronecker SPI model, dubbed HATNet, to improve the imaging quality of real SPI cameras. Specifically, we unfold the computation graph of the iterative shrinkagethresholding algorithm (ISTA) into two alternative modules: efficient tensor gradient descent and hybrid-attention multiscale denoising. By virtue of Kronecker SPI, the gradient descent module can avoid high computational overheads rooted in previous gradient descent modules based on vectorized SPI. The denoising module is an encoder-decoder architecture powered by dual-scale spatial attention for high-and low-frequency aggregation and channel attention for global information recalibration. Moreover, we build a SPI prototype to verify the effectiveness of the proposed method. Extensive experiments on synthetic and real data demonstrate that our method achieves the state-of-the-art performance. The source code and pre-trained models are available at https://github.com/Gang-Qu/HATNet-SPI.

For agents

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

get_harvested_code_for_paper("2404.05001")
get_code_for_paper("2404.05001")
have("2404.05001")

Connect an agent — have() is free.