Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| timm/swinv2_cr_tiny_ns_224.sw_in1 (baseline) | 185.8 | 28.3 | 81.53% |
| swinv2_cr_tiny_ns_224_pruned_59 (ours) | 109.4 (59%) | 18.2 (64%) | 81.07% (↓ 0.46%) |
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/swinv2_cr_tiny_ns_224_pruned_59import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./swinv2_cr_tiny_ns_224_pruned_59')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)