Skip to content
class

Mask2FormerSwinSmallWeights

extendsWeightsEnum
Mask2FormerSwinSmallWeights()

Pretrained weights for lucid.models.mask2former_swin_small.

Single ADE20k semantic checkpoint converted from facebook/mask2former-swin-small-ade-semantic (Cheng et al., 2022; ~68.7M params, 51.3 mIoU on the ADE20k validation set).

Examples

>>> from lucid.models.vision.mask2former import Mask2FormerSwinSmallWeights
>>> list(Mask2FormerSwinSmallWeights.__members__)
['ADE20K', 'DEFAULT']
DEFAULT is an alias for the tag a bare
pretrained=True resolves to, so the two ways of asking for
weights cannot drift apart.

Used by 3