All families

MobileViTv2

9 models, image classification. Fewest parameters first.

MobileViTV2 is the second version of MobileViT, built by replacing MobileViT's multi-headed self-attention with separable self-attention. The main efficiency bottleneck in MobileViT is multi-headed self-attention, which costs O(k2) time in the number of tokens k. Separable self-attention has linear complexity, O(k), and uses element-wise operations rather than costly batch-wise matrix multiplications, which suits resource-constrained devices. With about three million parameters, MobileViTV2 reaches 75.6% top-1 on ImageNet, about 1% above MobileViT while running 3.2× faster on a mobile device.

Read more

In practice it behaves more like a CNN than a transformer: it works on batches of images rather than sequences, has no embeddings, and the backbone outputs a feature map. One quirk: the pretrained checkpoints expect images in BGR pixel order, not RGB.

AI-written summary; not reviewed by a person. Corrections welcome.

Filter and sort these in the model list