Instructions to use maazie/EfficientNetB0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maazie/EfficientNetB0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="maazie/EfficientNetB0") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("maazie/EfficientNetB0") model = AutoModelForImageClassification.from_pretrained("maazie/EfficientNetB0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -12
config.json
CHANGED
|
@@ -8,13 +8,7 @@
|
|
| 8 |
1,
|
| 9 |
1
|
| 10 |
],
|
| 11 |
-
|
| 12 |
-
"width_coefficient": 1.0,
|
| 13 |
-
"depth_coefficient": 1.0,
|
| 14 |
-
"dropout_rate": 0.2,
|
| 15 |
-
"image_size": 224,
|
| 16 |
-
"mean": [0.485, 0.456, 0.406],
|
| 17 |
-
"std": [0.229, 0.224, 0.225]
|
| 18 |
}
|
| 19 |
"id2label": {
|
| 20 |
"0": "tench, Tinca tinca",
|
|
@@ -2019,9 +2013,5 @@
|
|
| 2019 |
"zebra": 340,
|
| 2020 |
"zucchini, courgette": 939
|
| 2021 |
},
|
| 2022 |
-
|
| 2023 |
-
"model_type": "efficientnet",
|
| 2024 |
-
"num_channels": 3,
|
| 2025 |
-
"dtype": "float32",
|
| 2026 |
-
"transformers_version": "4.18.0.dev0"
|
| 2027 |
}
|
|
|
|
| 8 |
1,
|
| 9 |
1
|
| 10 |
],
|
| 11 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
}
|
| 13 |
"id2label": {
|
| 14 |
"0": "tench, Tinca tinca",
|
|
|
|
| 2013 |
"zebra": 340,
|
| 2014 |
"zucchini, courgette": 939
|
| 2015 |
},
|
| 2016 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2017 |
}
|