effdet_efficientdet_d0
BiFPN feature fusion and compound scaling in a one-stage detector, traced as the smallest D0 build from the effdet package at 512 px.
Detection and tracking · 948 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
- 3.9M
- Operations
- 948
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2020
- Cited by
- 531 (as of 5 October 2026)
- Authors
- Mingxing Tan, Ruoming Pang, Quoc V. Le
- Source
- effdet 0.4.1
- 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
- m4485
- Graph hash
- 1f419fbe834b13ee91e4a359c485a6c1b811692833b2efa0bddd4ac5006fe9cf
- Skeleton hash
- 7d488ea6ea95385979fc8efc4ef244d21b283e0e44d3c1981fe668d4403b7ebd
- Architecture hash
- e5a3e4ef568d99b520442d2285326f5812e0cde5c52a782eb3b11e0e8bc972cc
- Diagram SHA-256
- d82110694a0807cc89dfc20736fc544dee2670df5856ba7852cee7ae595538da
- 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
How this diagram was made
effdet.create_model('efficientdet_d0', bench_task='', num_classes=90, pretrained=False, pretrained_backbone=False) What it is
EfficientDet is the detector family from Mingxing Tan, Ruoming Pang and Quoc V. Le that asked how much accuracy per FLOP a one-stage detector could deliver. The authors systematically study neural network architecture design choices for object detection and propose several key optimizations to improve efficiency. The result is a family of object detectors which consistently achieve much better efficiency than prior art across a wide spectrum of resource constraints.
The first idea is a weighted bi-directional feature pyramid network (BiFPN), which allows easy and fast multiscale feature fusion. BiFPN prunes the pyramid, removing nodes that only have one input edge, on the intuition that a node with one input edge and no feature fusion contributes less to the feature network. Its fusion weights are learned, and to avoid the slowdown of a softmax the paper uses fast normalized fusion, where each weight is kept non-negative by applying a Relu and a small epsilon avoids numerical instability. The second idea is a compound scaling method that uniformly scales the resolution, depth, and width for all backbone, feature network, and box/class prediction networks at the same time, driven by a simple compound coefficient φ. Input resolution follows Rinput = 512 + φ · 128, because feature levels 3 to 7 are used in BiFPN and the input must be divisible by 128, which gives the D0 model its 512-pixel input.
At the top of the family, EfficientDet-D7 achieves state-of-the-art 55.1 AP on COCO test-dev with 77M parameters and 410B FLOPs, being 4x - 9x smaller and using 13x - 42x fewer FLOPs than previous detectors. The member traced here is the smallest, D0 (φ = 0), built by Ross Wightman's effdet package rather than the official TensorFlow code. That package was written to correctly reproduce the Tensorflow models (but with a PyTorch feel and flexibility), with BiFPN connections and combination mode fully configurable and not baked into the model code. Its PyTorch-native efficientdet_d0 config, the one captured, is the variant that does NOT have redundant conv + BN bias layers like the official models, and the README lists it at 33.6 COCO mAP with 3.88M parameters at 512 px, next to 34.2 for the tf_efficientdet_d0 port.
Key idea. A weighted bi-directional feature pyramid (BiFPN) for fast multiscale fusion, plus compound scaling of resolution, depth and width across backbone, feature network and heads with one coefficient.
- efficientdet
- efficientdet-d0
- effdet
- efficientdet_d0
- bifpn
- compound scaling
- tan pang le
- google automl
- efficient object detection
- coco detector
- rwightman efficientdet-pytorch
AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{tan2020efficientdetscalableefficientobject,
title={EfficientDet: Scalable and Efficient Object Detection},
author={Mingxing Tan and Ruoming Pang and Quoc V. Le},
year={2020},
eprint={1911.09070},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1911.09070},
}