ILSVRC/imagenet-1k
Viewer • Updated • 1.43M • 76.8k • 818
Tu et al., 2022 — MaxViT: Multi-Axis Vision Transformer (arXiv:2204.01697)
Lucid port of timm/maxvit_tiny_tf_224.in1k,
converted to Lucid-native safetensors.
| Tag | acc@1 | acc@5 | Params | GFLOPs | Size | Source |
|---|---|---|---|---|---|---|
IN1K (default) |
83.62 | 96.49 | 30.9M | — | 118.18 MB | timm |
import lucid.models as models
from lucid.models.weights import MaxViTTinyWeights
# default tag
model = models.maxvit_tiny_cls(pretrained=True)
# explicit tag (enum or string)
model = models.maxvit_tiny_cls(weights=MaxViTTinyWeights.IN1K)
model = models.maxvit_tiny_cls(pretrained="IN1K")
# preprocessing travels with the weights
weights = MaxViTTinyWeights.IN1K
preprocess = weights.transforms()
logits = model(preprocess(image)[None]).logits
Converted from timm/maxvit_tiny_tf_224.in1k via
python -m tools.convert_weights maxvit_tiny --tag IN1K.
Key mapping + numerical parity verified against the source.
apache-2.0 — inherited from the original weights.
@inproceedings{tu2022maxvit,
title={MaxViT: Multi-Axis Vision Transformer},
author={Tu, Zhengzhong and Talebi, Hossein and Zhang, Han and Yang, Feng and Milanfar, Peyman and Bovik, Alan and Li, Yinxiao},
booktitle={ECCV}, year={2022}
}