swin2sr
Swin2SR, SwinIR rebuilt on Swin Transformer V2 layers for compressed image super-resolution.
Diffusion and generative · 3,135 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
- 11.8M
- Operations
- 3,135
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2022
- Source
- transformers 5.18.0
- 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
- m10403
- Graph hash
- 2f939a913807156df4a1345e3510432374eb908c3fb19b2a3496ac57c0b944b6
- Skeleton hash
- f7a8907b48d75bde5d1604d0d88b06738f46e1dbbd9524ac25c6eb78a835d27e
- Architecture hash
- d618c646da87308c3c5c86c1600c0b01b824dd485e0c99ee07d75c7c6f9464f8
- Diagram SHA-256
- 51dd68f2579076a91fe7d8bfe630d6b3ad20c96ee7dd2bcf88d66fc758cc56be
- 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
How this diagram was made
transformers.AutoModel.from_config()
What it is
Swin2SR is a Swin Transformer V2 model for compressed image super-resolution and restoration. It improves the SwinIR model by incorporating Swin Transformer v2 layers, which mitigates training instability, resolution gaps between pre-training and fine-tuning, and hunger on data.
The motivation is that compression, needed for band-limited systems such as streaming services, virtual reality or videogames, unavoidably leads to artifacts and the loss of the original information. The paper's experiments cover three tasks: JPEG compression artifacts removal, classical and lightweight image super-resolution, and compressed image super-resolution. The authors report that Swin2SR improves the training convergence and performance of SwinIR and was a top-5 solution at the AIM 2022 Challenge on Super-Resolution of Compressed Image and Video.
The member traced here is the bare Swin2SRModel from Transformers rather than the Swin2SRForImageSuperResolution head the library also provides, so its output is a feature map, not an upscaled image.
Key idea. Bringing Swin Transformer V2 layers into SwinIR to stabilise training and improve compressed image super-resolution.
- swin2sr
- swin2 sr
- swinv2 transformer for compressed image super-resolution
- swinir
- swin transformer v2
- super-resolution
- compressed image super-resolution
- jpeg artifact removal
- image restoration
- aim 2022
- conde
- timofte
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.