MaxViT-Large backbone (Tu et al., 2022).
Builds the canonical MaxViT-Large configuration:
depths=(2, 6, 14, 2), dims=(128, 256, 512, 1024).
Approximately 171.2M parameters.
Model Size
Parameters
pretrainedbool= FalseIf
True, loads ImageNet-22k pretrained weights when
available. Defaults to False.**overridesobject= {}Keyword overrides on top of the canonical MaxViT-Large config.
Returns
MaxViTA MaxViT backbone returning a flat
feature.
Notes
MaxViT-Large reaches 85.2% top-1 on ImageNet-1k at 224x224 (Tu et al., 2022, Table 6).
Examples
>>> import lucid
>>> from lucid.models.vision.maxvit import maxvit_large
>>> model = maxvit_large()
>>> x = lucid.randn(1, 3, 224, 224)
>>> model.forward_features(x).shape
(1, 1024)