All models

mmagic_base_edit_model_msrresnet_x4c64b16_1xb16_1000k_div2k

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

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
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
m6173
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

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}, 
}