Skip to content
class

Mask2FormerSwinLargeWeights

extendsWeightsEnum
Mask2FormerSwinLargeWeights()

Pretrained weights for lucid.models.mask2former_swin_large.

Single ADE20k semantic checkpoint converted from facebook/mask2former-swin-large-ade-semantic (Cheng et al., 2022; ~215M params, 56.1 mIoU on the ADE20k validation set — the headline paper result).

Examples

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