Image Classification
Keras
LiteRT
TF-Keras
Safetensors
English
efficientnetv2-s
efficientnetv2
fgic
transfer-learning
gem-pooling
focal-loss
swa
grad-cam
calibration
temperature-scaling
computer-vision
tensorflow.js
Eval Results (legacy)
Instructions to use 0xgr3y/Arch-Building-Image-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use 0xgr3y/Arch-Building-Image-Classification with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://0xgr3y/Arch-Building-Image-Classification") - Notebooks
- Google Colab
- Kaggle
Upload preprocessor_config.json with huggingface_hub
Browse files- preprocessor_config.json +24 -8
preprocessor_config.json
CHANGED
|
@@ -6,15 +6,31 @@
|
|
| 6 |
},
|
| 7 |
"resample": "bilinear",
|
| 8 |
"normalize": true,
|
| 9 |
-
"mode": "
|
| 10 |
"channel_order": "RGB",
|
| 11 |
-
"mean": [
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
"scale": 1.0,
|
| 14 |
-
"description": "
|
| 15 |
},
|
| 16 |
"input_name": "input_1",
|
| 17 |
-
"output_name": "
|
| 18 |
-
"input_shape": [
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
},
|
| 7 |
"resample": "bilinear",
|
| 8 |
"normalize": true,
|
| 9 |
+
"mode": "efficientnet_v2_preprocess_input",
|
| 10 |
"channel_order": "RGB",
|
| 11 |
+
"mean": [
|
| 12 |
+
0.0,
|
| 13 |
+
0.0,
|
| 14 |
+
0.0
|
| 15 |
+
],
|
| 16 |
+
"std": [
|
| 17 |
+
1.0,
|
| 18 |
+
1.0,
|
| 19 |
+
1.0
|
| 20 |
+
],
|
| 21 |
"scale": 1.0,
|
| 22 |
+
"description": "preprocess_input is identity in TF 2.12+; EfficientNetV2-S includes internal Rescaling layer. Input expects raw [0, 255] float32."
|
| 23 |
},
|
| 24 |
"input_name": "input_1",
|
| 25 |
+
"output_name": "dense_1",
|
| 26 |
+
"input_shape": [
|
| 27 |
+
1,
|
| 28 |
+
320,
|
| 29 |
+
320,
|
| 30 |
+
3
|
| 31 |
+
],
|
| 32 |
+
"output_shape": [
|
| 33 |
+
1,
|
| 34 |
+
8
|
| 35 |
+
]
|
| 36 |
+
}
|