Skip to content
class

EfficientFormerL1Weights

extendsWeightsEnum
EfficientFormerL1Weights()

Pretrained weights for lucid.models.efficientformer_l1_cls.

Single ImageNet-1k checkpoint converted from timm's efficientformer_l1.snap_dist_in1k (Li et al., 2022; ~12.3M params, 79.2% top-1).

Examples

>>> from lucid.models.vision.efficientformer._weights import EfficientFormerL1Weights
>>> list(EfficientFormerL1Weights.__members__)
['SNAP_DIST_IN1K', 'DEFAULT']
DEFAULT is an alias rather than a fourth entry, so a bare
pretrained=True and the tag it resolves to cannot drift apart.
>>> EfficientFormerL1Weights.DEFAULT is EfficientFormerL1Weights.SNAP_DIST_IN1K
True
>>> EfficientFormerL1Weights.SNAP_DIST_IN1K.num_classes
1000

Used by 3