ContextNet
Two-branch real-time segmenter: a deep low-resolution context branch plus a shallow high-resolution detail branch.
Segmentation · 159 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
- Task
- Segmentation
- Parameters
- 1M
- Operations
- 159
- Framework
- PyTorch
- Recurrent
- No
- Published
- BMVC 2018
- Cited by
- 211 (as of 17 October 2026)
- Authors
- Rudra P K Poudel, Ujwal Bonde, Stephan Liwicki, Christopher Zach
- License
- Apache-2.0
- 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
- m402
- Graph hash
- 6dc1d241ec445229fbf5dcf4b4574a2491d93bb9582912d552f25fbcc82cd189
- Skeleton hash
- 7cdde2b49edb0a672ea361712958ef6bd5c0ab80e8cbd651bd79681f4569c46f
- Architecture hash
- 8ca82375448f2d6becd09214e3bfe246588b7e453ea8c36424e8260c8dddaeb7
- Diagram SHA-256
- 1e9e586371dd9bf0f8dba093dc52a26417c7528284f1e1dbd7450057cbea32ab
- 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
ContextNet is a deep network for semantic segmentation that runs in real time with low memory requirement. Its authors note that state-of-the-art methods are not directly transferable to real-time applications or embedded devices, since naive adaptation to reduce computational cost causes a significant drop in accuracy. The design builds on factorized convolution, network compression and pyramid representation.
The key idea is a two-branch split: a deep branch at low resolution captures global context efficiently, while a shallow branch focuses on high-resolution segmentation detail. The authors back the design with a thorough ablation study. On Cityscapes the paper reports 66.1% accuracy at 18.3 frames per second at full 1024x2048 resolution, or 41.9 fps with pipelined computation for streamed data.
The member traced here comes from the zh320 realtime-semantic-segmentation-pytorch collection, which implements each model independently to preserve paper fidelity. That collection lists ContextNet at 1.01 million parameters against the paper's 0.85 million, and reports 66.61 mIoU on the Cityscapes validation set from its own training against the paper's 65.9 validation and 66.1 test figures.
Key idea. ContextNet pairs a deep low-resolution branch for global context with a shallow high-resolution branch for detail, giving competitive real-time segmentation with low memory requirement.
- contextnet
- context and detail
- real-time semantic segmentation
- two-branch segmentation
- cityscapes
- lightweight segmentation
- embedded segmentation
- factorized convolution
- bmvc 2018
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{poudel2018contextnetexploringcontextsemantic,
title={ContextNet: Exploring Context and Detail for Semantic Segmentation in Real-time},
author={Rudra P K Poudel and Ujwal Bonde and Stephan Liwicki and Christopher Zach},
year={2018},
eprint={1805.04554},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1805.04554},
}