Model Card for efficientnetv2_b0_pruned_54
This is a prunned version of the Keras EfficientNetV2B0 model in a toch-dag format.
This model has rougly 54% of the original model FLOPs with minimal metrics drop.
Model | KMAPPs* | M Parameters | Accuracy (224x224) |
---|---|---|---|
Keras EfficientNetV2B (baseline) | 29 | 7.1 | 78.69% |
efficientnetv2_b0_pruned_54 (ours) | 15.7 (54%) | 5.4 (76%) | 77.62% (↓ 1.07%) |
*KMAPPs thousands of FLOPs per input pixel
KMAPPs(model) = FLOPs(model) / (H * W * 1000)
, where (H, W)
is the input resolution.
The accuracy was calculated on the ImageNet-1k validation dataset. For details about image pre-processing, please refer to the original repository.
Model Details
Model Description
- Developed by: TCL Research Europe
- Model type: Classification / feature backbone
- License: Apache 2.0
- Finetuned from model: Keras EfficientNetV2B0
Model Sources
- Repository: Keras EfficientNetV2B0
How to Get Started with the Model
To load the model, You have to install torch-dag library, which can be done using pip
by
pip install torch-dag
then, clone this repository
# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs install
git clone https://huggingface.co/TCLResearchEurope/efficientnetv2_b0_pruned_54
and now You are ready to load the model:
import torch_dag
import torch
model = torch_dag.io.load_dag_from_path('./efficientnetv2_b0_pruned_54')
model.eval()
out = model(torch.ones(1, 3, 224, 224))
print(out.shape)
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API:
The model has no library tag.