Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| Keras EfficientNetV2B (baseline) | 29 | 7.1 | 78.69% |
| efficientnetv2_b0_pruned_40 (ours) | 11.7 (40%) | 4.5 (63%) | 76.7% (↓ 1.99%) |
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/efficientnetv2_b0_pruned_40import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./efficientnetv2_b0_pruned_40')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)