Downloads · 30 days
0
lucid-dl/crossvit-tiny
crossvit-tiny is a image classification model from lucid-dl. Use it when you need a label for an image. It is set up for lucid. The card lists the license as apache-2.0.
Chen et al., 2021 — CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification (arXiv:2103.14899)
Downloads · 30 days
0
Access
Public
Updated May 29, 2026
Repo size
28.1 MB
Likes
0
Public
Click a slice to open those files.
.safetensors28.1 MB · 100%
From the Hugging Face model README
Chen et al., 2021 — CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification (arXiv:2103.14899)
Lucid port of timm/crossvit_tiny_240.in1k,
converted to Lucid-native safetensors.
| Tag | acc@1 | acc@5 | Params | GFLOPs | Size | Source |
|---|---|---|---|---|---|---|
IN1K (default) | 72.6 | — | 7.0M | — | 26.79 MB | timm |
import lucid.models as models
from lucid.models.weights import CrossViTTinyWeights
# default tag
model = models.crossvit_tiny_cls(pretrained=True)
# explicit tag (enum or string)
model = models.crossvit_tiny_cls(weights=CrossViTTinyWeights.IN1K)
model = models.crossvit_tiny_cls(pretrained="IN1K")
# preprocessing travels with the weights
weights = CrossViTTinyWeights.IN1K
preprocess = weights.transforms()
logits = model(preprocess(image)[None]).logits
Converted from timm/crossvit_tiny_240.in1k via
python -m tools.convert_weights crossvit_tiny --tag IN1K.
Key mapping + numerical parity verified against the source.
apache-2.0 — inherited from the original weights.
@inproceedings{chen2021crossvit,
title={CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification},
author={Chen, Chun-Fu (Richard) and Fan, Quanfu and Panda, Rameswar},
booktitle={ICCV}, year={2021}
}