All models

basicsr_rrdbnet_esrgan_x4

ESRGAN's RRDB generator, a convolutional network without batch normalization that upscales images ×4.

Diffusion and generative · 104 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 (29 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
445K
Operations
104
Framework
PyTorch
Recurrent
No
Published
Lecture Notes in Computer Science 2019
Authors
Xintao Wang, Ke Yu, Shixiang Wu 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
m11733
Graph hash
b477ec6c1bae1ce89129d3ba7f91dc1f93f0eda6b5e455a4e0d6059acab79b47
Skeleton hash
2f2c4003df72320bbdf938d9105e71db0ac2f8fe43a8d7fd3eae14ce3211e522
Architecture hash
c3fa18095fe7b2b74801992258a59f3f99c0273aa0e9efd742742eda383690e2
Diagram SHA-256
ac6c5a19257f8c9ceec2ce6030c8eae8272aff5ef8369c328b59826ee8164485
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_rrdbnet_esrgan_x4:build_basicsr_rrdbnet_esrgan_x4: build({})

What it is

ESRGAN (Enhanced SRGAN) is a network for single image super-resolution, which aims at recovering a high-resolution image from a single low-resolution one. It starts from SRGAN and reworks three of its components: network architecture, adversarial loss and perceptual loss.

The generator keeps the basic architecture of SRResNet, in which most computation is done in the low-resolution feature space. Two changes are made to it: all batch normalization layers are removed, and the basic block is replaced by the Residual-in-Residual Dense Block (RRDB), which combines a multi-level residual network with dense connections. The reason the paper gives for removing batch normalization is stable training and consistent performance. Residuals are scaled down by a constant between 0 and 1 before they are added to the main path, to prevent instability.

During training the discriminator predicts relative realness instead of an absolute value, an idea the paper borrows from relativistic GAN. All experiments in the paper use a scaling factor of ×4 between low-resolution and high-resolution images. The paper reports that ESRGAN won first place in the PIRM-SR Challenge, in region 3, with the best perceptual index.

Key idea. ESRGAN improves SRGAN's network architecture, adversarial loss and perceptual loss, introducing the Residual-in-Residual Dense Block without batch normalization as the basic building unit.

  • esrgan
  • enhanced srgan
  • enhanced super-resolution generative adversarial networks
  • rrdbnet
  • rrdb
  • residual-in-residual dense block
  • super-resolution
  • single image super-resolution
  • image upscaling

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

Cite the paper

@misc{wang2018esrganenhancedsuperresolutiongenerative,
      title={ESRGAN: Enhanced Super-Resolution Generative Adversarial Networks}, 
      author={Xintao Wang and Ke Yu and Shixiang Wu and Jinjin Gu and Yihao Liu and Chao Dong and Chen Change Loy and Yu Qiao and Xiaoou Tang},
      year={2018},
      eprint={1809.00219},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1809.00219}, 
}