ESPNetV2_Seg
ESPNet rebuilt with depth-wise dilated separable convolutions, traced here in its segmentation form.
Segmentation · 406 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
- 789.3K
- Operations
- 406
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2019
- Cited by
- 550 (as of 17 October 2026)
- Authors
- Sachin Mehta, Mohammad Rastegari, Linda Shapiro, Hannaneh Hajishirzi
- Source
- GitHub: sacmehta/EdgeNets
- 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
- m872
- Graph hash
- 9dbe4051fc4b4c65e49e498bda485067eb59b0b5ebf9543a6ee2147746b88e41
- Skeleton hash
- 3cf9fd79d9ef877ec767cef7ea427382b04f151bd200d9168143952e89ca2970
- Architecture hash
- ac367c83f1842820ba9326825146f9718e6cd758d746d46047c5825c2a8e098c
- Diagram SHA-256
- 3a4209e91cc2e63fe91b7e78ed203672046085516451188db696df8543310896
- 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
ESPNetv2 is a light-weight, power efficient and general purpose convolutional network, built to model visual and sequential data alike. It learns representations from a large effective receptive field using group point-wise and depth-wise dilated separable convolutions, with fewer FLOPs and parameters. The paper evaluates it on object classification, semantic segmentation, object detection and language modeling.
The core unit is EESP, the Extremely Efficient Spatial Pyramid of Depth-wise Dilated Separable Convolutions, designed specifically for edge devices. It starts from the ESP module of ESPNet, replaces point-wise convolutions with group point-wise ones and the expensive 3x3 dilated convolutions with depth-wise dilated separable counterparts. Gridding artifacts caused by the dilated convolutions are removed with the hierarchical feature fusion method, HFF. With these changes an EESP unit can learn 7x fewer parameters than the ESP unit it replaces. A strided EESP variant handles down-sampling and adds a long-range shortcut from the input image, which first down-samples the image to the feature-map size and then applies two convolutions.
On PASCAL VOC and Cityscapes, ESPNetv2 outperforms ESPNet by 4-5% with 2-4x fewer FLOPs. The segmentation models were trained in two stages, with the second stage on 384x384 images for PASCAL VOC 2012 and 1024x512 for Cityscapes. The authors point out that the EESP unit, the core building block, has a for loop that processes the input at different dilation rates. The repository shows how to parallelize that loop with CUDA streams, a strategy the authors used to measure inference statistics including power consumption and run time. The original ESPNetv2 repository is now declared obsolete. Maintained code lives in EdgeNets, which supports ESPNetv2 for classification, segmentation and detection.
Key idea. ESPNetv2 rebuilds ESPNet's spatial pyramid with group point-wise and depth-wise dilated separable convolutions, cutting FLOPs 2-4x while raising segmentation accuracy 4-5%.
- espnetv2
- espnet v2
- espnetv2 segmentation
- espnetv2_seg
- eesp unit
- extremely efficient spatial pyramid
- depth-wise dilated separable convolution
- light-weight cnn
- power efficient cnn
- edgenets
- semantic segmentation
- cityscapes
- pascal voc
- cvpr 2019
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{mehta2019espnetv2lightweightpowerefficient,
title={ESPNetv2: A Light-weight, Power Efficient, and General Purpose Convolutional Neural Network},
author={Sachin Mehta and Mohammad Rastegari and Linda Shapiro and Hannaneh Hajishirzi},
year={2019},
eprint={1811.11431},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1811.11431},
}