Skip to content
fn

efficientdet_d5

→EfficientDetForObjectDetection33.7M
efficientdet_d5(pretrained: bool = False, overrides: object = {})

EfficientDet-D5 (φ=5\varphi = 5).

Compound-scaled variant: EfficientNet-B5 backbone, BiFPN 288 channels with 7 repeats, head depth 4, 1280x1280 input. Approximately 33.7M parameters; COCO test-dev mAP of 50.7% (paper Table 2).

Model Size

Parameters

pretrainedbool= False
No checkpoint is published for efficientdet_d5, so True raises NotImplementedError rather than return randomly initialised weights.
**overridesobject= {}
Keyword overrides forwarded into EfficientDetConfig.

Returns

EfficientDetForObjectDetection

Detector with the D5 configuration applied.

Notes

See Tan et al., 2020 (arXiv:1911.09070), Table 2.

Examples

>>> import lucid
>>> from lucid.models.vision.efficientdet import efficientdet_d5
>>> model = efficientdet_d5()
>>> x = lucid.randn(1, 3, 1280, 1280)
>>> out = model(x)
>>> out.pred_boxes.shape[-1]
4

Used by 1