ERRNet
A residual CNN with channel attention and pyramid pooling that removes reflections from a single image.
Diffusion and generative · 241 operations Checked
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
- 39M
- Operations
- 241
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2019
- Cited by
- 189 (as of 28 October 2026)
- Authors
- Kaixuan Wei, Jiaolong Yang, Ying Fu and others
- Source
- GitHub: Vandermode/ERRNet
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16359
- Graph hash
- 59464d24613157c181754d954fc12e02b49aa0ece29fc8aab6154be24ef0dda9
- Skeleton hash
- 1d5eb18c54830b608818b6c48b2a4736c0ddf14bc7bf74db264d0f92ae379e68
- Architecture hash
- 7b22691711669d3899c052ee2d029bfcfbc39091a9cc9421011ddd92eba09377
- Diagram SHA-256
- 5bdfa326fe4f2988db39cdafce88406e8b7b057db6e146600357713e4624d32e
- 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
ERRNet removes undesirable reflections from a single image taken through a glass window. The paper traces the difficulty to the ill-posedness of the problem and to the shortage of densely labeled training data. Its answer combines targeted network enhancements with the use of misaligned data.
The base is an image reconstruction network of residual blocks, widened from 64 to 256 feature maps, whose input image is augmented with hypercolumn features from a pretrained VGG-19 network. The batch normalization layer is removed from the basic residual block. A channel attention module recalibrates feature maps using global summary statistics, which adds context across channels. A pyramid pooling module at the tail of the network, with pooling at sizes 4, 8, 16 and 32, adds multi-scale spatial context.
The second part is an alignment-invariant loss function that lets the network train on misaligned real-world image pairs, which are much easier to collect. The authors collected a dataset of 450 unaligned image pairs.
Key idea. The paper augments a reflection removal network with context encoding modules and introduces an alignment-invariant loss that makes misaligned real-world image pairs usable for training.
- errnet
- single image reflection removal
- reflection removal
- sirr
- misaligned training data
- alignment-invariant loss
- context encoding modules
- 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{wei2019singleimagereflectionremoval,
title={Single Image Reflection Removal Exploiting Misaligned Training Data and Network Enhancements},
author={Kaixuan Wei and Jiaolong Yang and Ying Fu and David Wipf and Hua Huang},
year={2019},
eprint={1904.00637},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1904.00637},
}