All models

mmagic_base_edit_model_rdn_x2c64b16_1xb16_1000k_div2k

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

54 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 (17 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
166.6K
Operations
54
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
m6176
Graph hash
0a999f00d674e38005175f7137525d3ef71433fade4d6e967dc6604b830d721f
Skeleton hash
1fccf2d8fa64eb464dfd3d0f29b853f00bb81c2de2ff2f138aeab5329820c316
Architecture hash
ad6fecc30da998e3759454422af5f996f851a555d41d933d904d15b6184394b0
Diagram SHA-256
f1ee2aaf7d8300a2f7735fa323313cfd6ce19d1c5e6b675dd6ab239f3f3acf5f
TorchLens version
2.36.0
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.hard_b_mmagic_sr:build_rdn_x2: 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}, 
}