Instructions to use FredZhang7/efficientnetv25_rw_s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FredZhang7/efficientnetv25_rw_s with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="FredZhang7/efficientnetv25_rw_s", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("FredZhang7/efficientnetv25_rw_s", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
8a92f25
1
Parent(s): e81feeb
Update config.json
Browse files- config.json +7 -6
config.json
CHANGED
|
@@ -1,25 +1,26 @@
|
|
| 1 |
{
|
| 2 |
"auto_map": {
|
| 3 |
-
"AutoConfig": "
|
| 4 |
-
"AutoModel": "
|
| 5 |
},
|
| 6 |
-
"model_type": "EfficientNetV2_5",
|
| 7 |
-
"url": "https://huggingface.co/FredZhang7/efficientnetv2.5_rw_s/resolve/main/efficientnetv2.5_base_in1k.pth",
|
| 8 |
"input_size": [
|
| 9 |
3,
|
| 10 |
304,
|
| 11 |
304
|
| 12 |
],
|
| 13 |
-
"num_classes": 1000,
|
| 14 |
"interpolation": "bicubic",
|
| 15 |
"mean": [
|
| 16 |
0.5,
|
| 17 |
0.5,
|
| 18 |
0.5
|
| 19 |
],
|
|
|
|
|
|
|
| 20 |
"std": [
|
| 21 |
0.5,
|
| 22 |
0.5,
|
| 23 |
0.5
|
| 24 |
-
]
|
|
|
|
|
|
|
| 25 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"auto_map": {
|
| 3 |
+
"AutoConfig": "configuration_efficientnetv25.EfficientNetV25Config",
|
| 4 |
+
"AutoModel": "modeling_efficientnetv25.EfficientNetV25ForImageClassification"
|
| 5 |
},
|
|
|
|
|
|
|
| 6 |
"input_size": [
|
| 7 |
3,
|
| 8 |
304,
|
| 9 |
304
|
| 10 |
],
|
|
|
|
| 11 |
"interpolation": "bicubic",
|
| 12 |
"mean": [
|
| 13 |
0.5,
|
| 14 |
0.5,
|
| 15 |
0.5
|
| 16 |
],
|
| 17 |
+
"model_type": "efficientnetv25",
|
| 18 |
+
"num_classes": 1000,
|
| 19 |
"std": [
|
| 20 |
0.5,
|
| 21 |
0.5,
|
| 22 |
0.5
|
| 23 |
+
],
|
| 24 |
+
"transformers_version": "4.34.0",
|
| 25 |
+
"url": "https://huggingface.co/FredZhang7/efficientnetv2.5_rw_s/resolve/main/efficientnetv2.5_base_in1k.pth"
|
| 26 |
}
|