Skip to content
class

Mask2FormerSwinTinyWeights

extendsWeightsEnum
Mask2FormerSwinTinyWeights()

Pretrained weights for lucid.models.mask2former_swin_tiny.

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

Examples

>>> from lucid.models.vision.mask2former import Mask2FormerSwinTinyWeights
>>> list(Mask2FormerSwinTinyWeights.__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