Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| timm/convformer_s18.sail_in22k_ft_in1 (baseline) | 158.5 | 26.8 | 83.76% |
| convformer_s18_pruned_43 (ours) | 68.8 (43%) | 15.8 (59%) | 82.53% (↓ 1.23%) |
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/convformer_s18_pruned_43import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./convformer_s18_pruned_43')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)