All models

mmagic_base_edit_model_edsr_x2c64b16_1xb16_300k_div2k

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

30 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 (38 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
159K
Operations
30
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
m6171
Graph hash
f3a23110d38fcef55ef3f7bfe58c3ceb4be81ca9cddd2057adea21dea886444a
Skeleton hash
e6ea4b0d80bfb0247aa781d797e147917334176189b8da871b2071032e4accca
Architecture hash
6638e2cb4db7693d1c6a22056c9bdcaca1e9d729e59fa9b509370bb49a79303b
Diagram SHA-256
6b41acc36374a4fbbca5a41e2664b03de18f6b40d3e5131c3ecf7765e7b2594b
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_edsr_x4:build_basicsr_edsr_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}, 
}