Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| timm/convnextv2_nano.fcmae_ft_in22k_in1 (baseline) | 97.9 | 15.6 | 81.97% |
| convnetxtv2_nano_pruned_34 (ours) | 33.5 (34%) | 6.3 (40%) | 79.22% (↓ 2.75%) |
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/convnetxtv2_nano_pruned_34import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./convnetxtv2_nano_pruned_34')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)