Instructions to use google/efficientnet-b4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/efficientnet-b4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/efficientnet-b4") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("google/efficientnet-b4") model = AutoModelForImageClassification.from_pretrained("google/efficientnet-b4") - Inference
- Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -2065,7 +2065,7 @@
|
|
| 2065 |
192,
|
| 2066 |
320
|
| 2067 |
],
|
| 2068 |
-
"
|
| 2069 |
"squeeze_expansion_ratio": 0.25,
|
| 2070 |
"strides": [
|
| 2071 |
1,
|
|
|
|
| 2065 |
192,
|
| 2066 |
320
|
| 2067 |
],
|
| 2068 |
+
"pooling_type": "mean",
|
| 2069 |
"squeeze_expansion_ratio": 0.25,
|
| 2070 |
"strides": [
|
| 2071 |
1,
|