Instructions to use google/efficientnet-b1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/efficientnet-b1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/efficientnet-b1") 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-b1") model = AutoModelForImageClassification.from_pretrained("google/efficientnet-b1") - Notebooks
- Google Colab
- Kaggle
Upload EfficientNetForImageClassification
Browse files- config.json +0 -11
config.json
CHANGED
|
@@ -2065,19 +2065,8 @@
|
|
| 2065 |
192,
|
| 2066 |
320
|
| 2067 |
],
|
| 2068 |
-
"out_features": null,
|
| 2069 |
"pooling": "avg",
|
| 2070 |
"squeeze_expansion_ratio": 0.25,
|
| 2071 |
-
"stage_names": [
|
| 2072 |
-
"stem",
|
| 2073 |
-
"stage1",
|
| 2074 |
-
"stage2",
|
| 2075 |
-
"stage3",
|
| 2076 |
-
"stage4",
|
| 2077 |
-
"stage5",
|
| 2078 |
-
"stage6",
|
| 2079 |
-
"stage7"
|
| 2080 |
-
],
|
| 2081 |
"strides": [
|
| 2082 |
1,
|
| 2083 |
2,
|
|
|
|
| 2065 |
192,
|
| 2066 |
320
|
| 2067 |
],
|
|
|
|
| 2068 |
"pooling": "avg",
|
| 2069 |
"squeeze_expansion_ratio": 0.25,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2070 |
"strides": [
|
| 2071 |
1,
|
| 2072 |
2,
|