All models

mmagic_base_edit_model_esrgan_psnr_x4c64b23g32_1xb16_1000k_div2k

mmagic BaseEditModel restoration configs; only the edsr member is the cited EDSR network.

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
CVPR Workshops (arXiv 2017)
Authors
Bee Oh Lim, Sanghyun Son, Heewon Kim 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
m6172
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

About this model's family

This family gathers OpenMMLab mmagic restoration configs built through its BaseEditModel wrapper, and the cited paper is EDSR, an enhanced deep super-resolution network, which the edsr_x2c64b16 member implements. Single image super-resolution reconstructs a high-resolution image from a single low-resolution image. The paper's starting point is SRResNet, which it simplifies by analyzing and removing unnecessary modules.

The main change is removing batch normalization, which the authors argue strips range flexibility from the features. The baseline without it saves approximately 40% of training memory compared to SRResNet. To train stably with many filters, each residual block ends with a constant residual scaling layer with factor 0.1. The baseline uses only 64 feature maps per convolution and so needs no residual scaling, which is the setting the c64 in the captured config name points to. The final single-scale EDSR expands the baseline to B = 32 residual blocks and F = 256 filters with the 0.1 scaling factor. A multi-scale sibling, MDSR, reconstructs several upscaling factors in a single model with B = 80 and F = 64. Training uses L1 loss rather than L2, which the authors found converges better.

EDSR and MDSR ranked first and second in the NTIRE 2017 Super-Resolution Challenge. The paper appeared in a CVPR 2017 workshop and won the best paper award of the NTIRE2017 workshop. Training took 8 days for EDSR and 4 days for MDSR on NVIDIA Titan X GPUs in the Torch7 framework.

Key idea. EDSR strips batch normalization out of SRResNet-style residual blocks and scales the network up with residual scaling, trained with L1 loss.

  • edsr
  • enhanced deep super-resolution
  • mdsr
  • super-resolution
  • single image super-resolution
  • sisr
  • mmagic
  • base_edit_model
  • baseeditmodel
  • ntire 2017
  • div2k
  • esrgan
  • rdn
  • restormer
  • srcnn
  • msrresnet
  • image restoration

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

Cite the paper

@misc{lim2017enhanceddeepresidualnetworks,
      title={Enhanced Deep Residual Networks for Single Image Super-Resolution}, 
      author={Bee Lim and Sanghyun Son and Heewon Kim and Seungjun Nah and Kyoung Mu Lee},
      year={2017},
      eprint={1707.02921},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1707.02921}, 
}