EfficientDet
11 memberslucid.models.vision.efficientdetEfficientDet — scalable compound-scaled detector (Tan et al., CVPR 2020).
Paper: "EfficientDet: Scalable and Efficient Object Detection"
Tan, Mingxing, et al. "EfficientDet: Scalable and Efficient Object Detection." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020, pp. 10781–10790.
EfficientDet jointly applies the compound scaling idea of EfficientNet to the entire detection pipeline — backbone, feature network, and prediction heads — instead of scaling any single axis (width, depth, resolution) in isolation. A single compound coefficient controls all three:
so EfficientDet-D0 through D7 form a family with predictable accuracy–latency trade-offs without manual hyper-tuning.
The feature network is a BiFPN (Bi-directional Feature Pyramid Network). Unlike a one-way FPN, BiFPN adds bottom-up paths back into the pyramid and learns fast normalised fusion weights so each merged level is a convex combination of its inputs:
where the ReLU on (here written as a non-negativity constraint) keeps fusion stable without an explicit softmax, and the small prevents division by zero. BiFPN is then stacked times.
The detection heads (classification + box) share weights across levels and use sigmoid + focal loss for classification, the same anchor-based formulation as RetinaNet. Combined with the EfficientNet-B\ backbone, the result is the Pareto-optimal one-stage detector family of its time — EfficientDet-D7 reaches 55.1 AP on COCO at far fewer FLOPs than contemporaries.
Classes
Functions
efficientdet_config→ EfficientDetConfigBuild the canonical EfficientDet-D{phi} config from the compound table.
efficientdet_d0→ EfficientDetForObjectDetectionEfficientDet-D0 ().
efficientdet_d1→ EfficientDetForObjectDetectionEfficientDet-D1 ().
efficientdet_d2→ EfficientDetForObjectDetectionEfficientDet-D2 ().
efficientdet_d3→ EfficientDetForObjectDetectionEfficientDet-D3 ().
efficientdet_d4→ EfficientDetForObjectDetectionEfficientDet-D4 ().
efficientdet_d5→ EfficientDetForObjectDetectionEfficientDet-D5 ().
efficientdet_d6→ EfficientDetForObjectDetectionEfficientDet-D6 ().
efficientdet_d7→ EfficientDetForObjectDetectionEfficientDet-D7 ().