All models

ReCoNet

A feed-forward convolutional encoder-decoder that applies an artistic style to video frames with temporal coherence.

Diffusion and generative · 68 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 (51 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
1.7M
Operations
68
Framework
PyTorch
Recurrent
No
Published
ACCV 2018
Cited by
57 (as of 29 October 2026)
Authors
Chang Gao, Derun Gu, Fangjun Zhang, Yizhou Yu
License
MIT
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
m19753
Graph hash
c238e559bdd70fa1a046820285abadcf3754a98adecb365e8e12b67fbe33238d
Skeleton hash
29f22f53899160927179ff4177a50afc8a3f94f9edd2e126f279b52b65837d01
Architecture hash
332d424fd491d164ec7a1cacf0777b592a2c53940e6cf922ec2a37ed2007e99d
Diagram SHA-256
5a3b455792659e2202deeb3f9df8dc37b4033cc0904627d1e35392660b67cbfd
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

What it is

ReCoNet is a feed-forward network for video style transfer that stylizes videos frame by frame through an encoder and a decoder. Image style transfer models usually suffer from high temporal inconsistency when applied to videos. This inconsistency can be observed as flickering between consecutive stylized frames.

The network is purely convolutional. The encoder has three convolutional layers and four residual blocks, and the decoder has two up-sampling convolutional layers followed by a final convolutional layer. Each up-sampling step uses an up-sample layer and a convolutional layer in place of a deconvolutional layer, to reduce checkerboard artifacts. Instance normalization follows each convolution, and reflection padding is used at each convolutional layer.

Temporal consistency is learned in training through a multi-level temporal loss, applied at the encoder's feature maps and at the stylized output. The output-level loss adds a luminance warping constraint that captures luminance changes between consecutive frames. Ground-truth optical flows enter only the loss calculation during training. At inference only the encoder and the decoder are used, and they stylize a video frame by frame. The paper trains on Monkaa and FlyingThings3D from the Scene Flow datasets and tests on the MPI Sintel dataset. The paper reports an inference speed over 200 FPS on a single modern GPU.

Key idea. ReCoNet adds a luminance warping constraint and a feature-map-level temporal loss so that a feed-forward style transfer network produces temporally coherent video in real time.

  • reconet
  • real-time coherent video style transfer network
  • video style transfer
  • temporal consistency
  • luminance warping constraint
  • feature-map-level temporal loss
  • optical flow
  • perceptual loss
  • instance normalization
  • real-time processing

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

Cite the paper

@misc{gao2018reconetrealtimecoherentvideo,
      title={ReCoNet: Real-time Coherent Video Style Transfer Network}, 
      author={Chang Gao and Derun Gu and Fangjun Zhang and Yizhou Yu},
      year={2018},
      eprint={1807.01197},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1807.01197}, 
}