All models

PyramidBox

Single shot face detector that uses contextual information to find small, blurred and partially occluded faces.

Detection and tracking · 439 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 (290 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
57.2M
Operations
439
Framework
PyTorch
Recurrent
No
Published
ECCV 2018
Cited by
443 (as of 30 October 2026)
Authors
Xu Tang, Daniel K. Du, Zeqiang He, Jingtuo Liu
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 diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19529
Graph hash
9b94dedcaf7aa7b2c5679f5d9da6b095646d9bad2ac1c1e949e1ff0b114d61a7
Skeleton hash
e0c7407b78ca8be5c6054cffec511ec78f954a5ae57cbccfd73d0d833792a250
Architecture hash
7bb818101b583d33029fe6adf862edd602f29eb9b1c41e0699a43cafbc37f6af
Diagram SHA-256
668e42ec15b4313be87da13f819280ef788c12aa58512de5616fa9a398bb5a91
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

PyramidBox is a single shot face detector aimed at the hard cases of face detection: small, blurred and partially occluded faces. Its approach is to make better use of contextual information, which the paper does in three ways.

PyramidAnchors are context anchors that supervise the learning of high-level contextual features with a semi-supervised method. The Low-level Feature Pyramid Network combines high-level context features with low-level facial features, which lets the detector predict faces of all scales in a single shot. A context-sensitive structure increases the capacity of the prediction network. For training, Data-anchor-sampling augments the samples across scales to increase the diversity of training data for smaller faces.

This model comes from a PyTorch implementation whose author trained it and describes the result as approaching that of the original paper. On WIDER FACE that implementation reports AP of 0.948, 0.938 and 0.880 on the easy, medium and hard sets. Its author attributes the gap to a training setup, 120k with batch size 4, that differs from the paper's.

Key idea. PyramidBox improves a single shot face detector's use of context through PyramidAnchors, a Low-level Feature Pyramid Network and a context-sensitive prediction structure.

  • PyramidBox
  • face detection
  • single shot face detector
  • context-assisted face detector
  • PyramidAnchors
  • Low-level Feature Pyramid Network
  • Data-anchor-sampling
  • WIDER FACE

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

Cite the paper

@misc{tang2018pyramidboxcontextassistedsingleshot,
      title={PyramidBox: A Context-assisted Single Shot Face Detector}, 
      author={Xu Tang and Daniel K. Du and Zeqiang He and Jingtuo Liu},
      year={2018},
      eprint={1803.07737},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1803.07737}, 
}