All models

basicsr_msrresnet_x4

A deep residual network that upscales a low-resolution image by a factor of 4.

Diffusion and generative · 28 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (36 KB)

Open in a new tab

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
168.2K
Operations
28
Framework
PyTorch
Recurrent
No
Published
2016
Authors
Christian Ledig, Lucas Theis, Ferenc Huszár and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11731
Graph hash
91cdddd32fcbc6f8fef3f99b18f879c7d5d27b18601eff07d37fb47cdc60be38
Skeleton hash
5e1a0446b484ea52ad066480bd02ade1ceaa1d94d4aaab701638ffbcce8ee029
Architecture hash
1188e6fe5b84151377891c2d2dc5d353d767df9d8a1d23b5f6f40ad956a699f1
Diagram SHA-256
eeb8907d876b03e1ad2ed30bbc21b1b38ff03310d45dd20a3f444511ca8f3417
TorchLens version
2.35.3
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

menagerie.classics.basicsr_msrresnet_x4:build: build({})

What it is

This is a deep residual network for single image super-resolution, the task of estimating a high-resolution image from its low-resolution counterpart. Its design goes back to the SRGAN paper, which describes SRResNet, a 16 blocks deep ResNet optimized for mean squared error (MSE) at 4× upscaling.

In the paper, the core of the generator is a series of residual blocks with identical layout, each using two convolutional layers with small 3×3 kernels and 64 feature maps. Resolution is increased by two trained sub-pixel convolution layers. The paper notes that the generator can be applied to images of arbitrary size.

The paper argues that minimizing mean squared error gives high peak signal-to-noise ratios (PSNR) but estimates that often lack high-frequency details. SRGAN instead uses a perceptual loss that consists of an adversarial loss and a content loss. The MSE-trained SRResNet served as initialization for the generator when training the GAN. On Set5, the paper reports 32.05 dB PSNR for SRResNet against 29.40 dB for SRGAN, while SRGAN received the higher mean opinion score, 3.58 against 3.37.

Key idea. The SRGAN paper built SRResNet, a 16 blocks deep residual network optimized for MSE, for image super-resolution at 4× upscaling.

  • msrresnet
  • srresnet
  • basicsr msrresnet
  • super-resolution
  • single image super-resolution
  • sisr
  • 4x upscaling
  • image upscaling
  • residual super-resolution network

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{ledig2017photorealisticsingleimagesuperresolution,
      title={Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network}, 
      author={Christian Ledig and Lucas Theis and Ferenc Huszar and Jose Caballero and Andrew Cunningham and Alejandro Acosta and Andrew Aitken and Alykhan Tejani and Johannes Totz and Zehan Wang and Wenzhe Shi},
      year={2017},
      eprint={1609.04802},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1609.04802}, 
}