CAMixerSR
A super-resolution network of stacked content-aware mixers: convolution for simple regions, attention for textures.
3,984 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
- 765.3K
- Operations
- 3,984
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2024
- Cited by
- 82 (as of 28 October 2026)
- Authors
- Yan Wang, Yi Liu, Shijie Zhao and others
- Source
- GitHub: icandle/CAMixerSR
- License
- Apache-2.0
- 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
- m15030
- Graph hash
- b9ba92316a6a28c8ecc06de93815b474f78771480bd38322a435c0d5809530b4
- Skeleton hash
- 8791d4cb98409d8ab4cf9d17e8e79e45ceacb68b34fa387afb7522ff8e450d56
- Architecture hash
- 674fd919debce02beea21789a27fbb52cfb950996691c2ad87a0f635e12dfe51
- Diagram SHA-256
- 464b7439be730ab91585aa10da0f17552bae68b58acfb9e21f66ddefb5f0101f
- 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
CAMixerSR is an image super-resolution (SR) network obtained by stacking a single block, the content-aware mixer, or CAMixer. The mixer assigns convolution to simple contexts and adds deformable window-attention for sparse textures.
The paper presents this as joining two tracks of work on large-image (2K-8K) SR: speeding up existing networks with content-aware routing, and designing better networks by refining the token mixer. Inside each CAMixer, a learnable predictor generates offsets for warping windows, a mask for classifying windows, and convolutional attentions that give the convolution a dynamic property. A global classification loss is added to improve the accuracy of the predictors.
For large images the repository tests with a tile model, using 64x64 tiles and an overlap of 4 to constrain the calculations. For lightweight SR it tests on Set5, Set14, BSD100, Urban100 and Manga109.
Key idea. The paper proposes CAMixer, a content-aware mixer that assigns convolution to simple contexts and deformable window-attention to sparse textures, and stacks it into CAMixerSR.
- CAMixerSR
- CAMixer
- content-aware mixer
- super-resolution
- image super-resolution
- lightweight SR
- large-image SR
- omnidirectional image SR
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2024camixersrdetailsneedattention,
title={CAMixerSR: Only Details Need More "Attention"},
author={Yan Wang and Yi Liu and Shijie Zhao and Junlin Li and Li Zhang},
year={2024},
eprint={2402.19289},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2402.19289},
}