AWAN-Spectral
A residual attention CNN that reconstructs a hyperspectral image from an RGB image.
344 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 17.5M
- Operations
- 344
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR Workshops 2020 (NTIRE)
- Cited by
- 211 (as of 29 October 2026)
- Authors
- Jiaojiao Li, Chaoxiong Wu, Rui Song and others
- Source
- GitHub: Deep-imagelab/AWAN
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m14615
- Graph hash
- 40ae7f9a4a1dbfc7f902135933b5fc644406025a701e83f1a7e14ad6cc38b7bb
- Skeleton hash
- 1ae6a4e3594b179c15b29ec7c244b3379828246f3ce91194e5ab686a2216a7d9
- Architecture hash
- 312a08ab70457b084e91a77b550dd927b8222e9558c31ba7d0f6562a6347adfa
- Diagram SHA-256
- 7587b60b1114934f7d10f874cbf56e7ba3e9d0c279392bae05a2be0c14907be8
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
AWAN, the adaptive weighted attention network, performs spectral reconstruction: it recovers a hyperspectral image from an RGB image. The paper argues that most CNN-based methods for this task neglect the camera spectral sensitivity (CSS) prior and the interdependencies among intermediate features.
A single convolutional layer extracts shallow features from the RGB input, and a stack of dual residual attention blocks (DRABs) then extracts deep features. An adaptive weighted channel attention (AWCA) module reallocates channel-wise feature responses using adaptively weighted feature statistics in place of average-pooled ones. A patch-level second-order non-local (PSNL) module captures long-range spatial context with second-order non-local operations. That module splits the feature map into four sub-feature maps along the spatial dimension and processes each one. The paper's implementation uses 8 DRABs and 200 output channels.
For training, the paper adds a constraint from the CSS prior, based on the discrepancies of the RGB images and the hyperspectral images. In the NTIRE 2020 Spectral Reconstruction Challenge the authors' entries ranked 1st on the Clean track and 3rd on the Real World track.
Key idea. AWAN stacks dual residual attention blocks with long and short skip connections and adds channel attention and a second-order non-local module for spectral reconstruction from RGB images.
- AWAN
- Adaptive Weighted Attention Network
- AWAN-Spectral
- spectral reconstruction
- hyperspectral image reconstruction
- RGB to hyperspectral
- camera spectral sensitivity
- NTIRE 2020
- channel attention
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{li2020adaptiveweightedattentionnetworkcamera,
title={AdaptiveWeighted Attention Network with Camera Spectral Sensitivity Prior for Spectral Reconstruction from RGB Images},
author={Jiaojiao Li and Chaoxiong Wu and Rui Song and Yunsong Li and Fei Liu},
year={2020},
eprint={2005.09305},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2005.09305},
}