Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| Keras EfficientNetV2B (baseline) | 29 | 7.1 | 78.69% |
| efficientnetv2_b0_pruned_61 (ours) | 17.7 (61%) | 6.5 (92%) | 78.14% (↓ 0.55%) |
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_61import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./efficientnetv2_b0_pruned_61')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)