Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| Keras EfficientNetV2B (baseline) | 29 | 7.1 | 78.69% |
| efficientnetv2_b0_pruned_69 (ours) | 20.05 (69%) | 6.9 (97%) | 78.62% (↓ 0.07%) |
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_69import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./efficientnetv2_b0_pruned_69')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)