All models

edvr_x4

A video restoration network that aligns neighboring frames with deformable convolutions and fuses them by attention.

Video · 278 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 (257 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

Task
Video
Parameters
80.5K
Operations
278
Framework
PyTorch
Recurrent
Yes
Published
CVPR Workshops (arXiv 2019)
Authors
Xintao Wang, Kelvin C. K. Chan, Ke Yu 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
m11826
Graph hash
476f68529bf50fddf6f4406844ab6d56e2f99969e9d7267e13432665757172ac
Skeleton hash
2d3eb95eec372b34e4717d7f7d15b159ea4f2275138ef1b70b317b2b685175fd
Architecture hash
53e268fcb9048ec08a0a99403558f6b7a625338ca01fe4843c1458d5a4331a73
Diagram SHA-256
df864140eb384bd41141514cb800171f0c98069510f6ba71e1df22edbd5162f4
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.edvr_x4:build: build({})

What it is

EDVR is a video restoration network: it takes several consecutive low-quality frames and estimates a high-quality version of the middle one, called the reference frame. The paper presents it as a unified framework that extends to several video restoration tasks, including super-resolution and deblurring. It was the authors' winning solution in the NTIRE 2019 challenges on video restoration and enhancement.

At its core are two modules: PCD (Pyramid, Cascading and Deformable convolutions) for alignment and TSA (Temporal and Spatial Attention) for fusion. PCD aligns each neighboring frame to the reference frame at the feature level with deformable convolutions, working from coarse to fine so that large motions can be handled. The use of deformable convolutions for alignment is inspired by TDAN, and the paper uses a three-level pyramid. TSA then fuses the aligned frames, applying attention both temporally and spatially to emphasize the features that matter for restoration. Its temporal attention comes from the element-wise correlation between the features of the reference frame and those of each neighboring frame.

After fusion, a cascade of residual blocks reconstructs the image. The output frame is the predicted image residual added to a directly upsampled image. The paper reports that EDVR won all four tracks of the NTIRE19 video restoration and enhancement challenges.

Key idea. EDVR restores video by aligning frames with a pyramid of cascaded deformable convolutions and fusing them with temporal and spatial attention.

  • EDVR
  • video super-resolution
  • video restoration
  • video deblurring
  • PCD alignment
  • TSA fusion
  • deformable convolution
  • NTIRE 2019
  • REDS
  • frame alignment

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

Cite the paper

@misc{wang2019edvrvideorestorationenhanced,
      title={EDVR: Video Restoration with Enhanced Deformable Convolutional Networks}, 
      author={Xintao Wang and Kelvin C. K. Chan and Ke Yu and Chao Dong and Chen Change Loy},
      year={2019},
      eprint={1905.02716},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1905.02716}, 
}