Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| timm/deit3_small_patch16_224.fb_in22k_ft_in1 (baseline) | 184 | 22 | 82.87% |
| deit3_small_patch16_224_pruned_66 (ours) | 121 (66%) | 14.1 (64%) | 81.85% (↓ 1.02%) |
KMAPPs(model) = FLOPs(model) / (H * W * 1000), where (H, W) is the input resolution.pip bypip install torch-dag# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs install
git clone https://huggingface.co/TCLResearchEurope/deit3_small_patch16_224_pruned_66import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./deit3_small_patch16_224_pruned_66')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)