Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| timm/beit_base_patch16_224.in22k_ft_in22k_in1 (baseline) | 673.2 | 86.5 | 85.23% |
| beit_base_patch16_224_pruned_65 (ours) | 438 (65%) | 56.7 (66%) | 84.53% (↓ 0.7%) |
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/beit_base_patch16_224_pruned_65import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./beit_base_patch16_224_pruned_65')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)