Views
No views yet
| Model | KMAPPs* | M Parameters | Accuracy (224x224) |
|---|---|---|---|
| Keras EfficientNetV2B (baseline) | 29 | 7.1 | 78.69% |
| efficientnetv2_b0_pruned_35 (ours) | 10.03 (35%) | 3.8 (54%) | 76.12% (↓ 2.57%) |
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_35import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./efficientnetv2_b0_pruned_35')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)