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 calibration_data.json with huggingface_hub
Browse files- calibration_data.json +44 -41
calibration_data.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"ece": 0.
|
| 3 |
"n_bins": 15,
|
| 4 |
"bin_boundaries": [
|
| 5 |
0.0,
|
|
@@ -24,60 +24,63 @@
|
|
| 24 |
0.0,
|
| 25 |
0.0,
|
| 26 |
0.0,
|
| 27 |
-
0.
|
| 28 |
-
0.
|
| 29 |
-
0.
|
| 30 |
-
0.
|
| 31 |
-
|
| 32 |
-
0.
|
| 33 |
-
|
| 34 |
-
0.
|
| 35 |
-
0.
|
| 36 |
-
0.
|
| 37 |
1.0
|
| 38 |
],
|
| 39 |
"bin_confidences": [
|
| 40 |
0.0333,
|
| 41 |
0.1,
|
| 42 |
0.1667,
|
| 43 |
-
0.
|
| 44 |
-
0.
|
| 45 |
-
0.
|
| 46 |
-
0.
|
| 47 |
-
0.
|
| 48 |
-
0.
|
| 49 |
-
0.
|
| 50 |
-
0.
|
| 51 |
-
0.
|
| 52 |
-
0.
|
| 53 |
-
0.
|
| 54 |
-
0.
|
| 55 |
],
|
| 56 |
"bin_counts": [
|
| 57 |
0,
|
| 58 |
0,
|
| 59 |
0,
|
| 60 |
1,
|
| 61 |
-
|
| 62 |
-
|
|
|
|
| 63 |
11,
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
14
|
| 72 |
],
|
| 73 |
"per_class_auc": {
|
| 74 |
-
"barn": 0.
|
| 75 |
-
"bridge": 0.
|
| 76 |
-
"castle": 0.
|
| 77 |
-
"mosque": 0.
|
| 78 |
"skyscraper": 0.9999,
|
| 79 |
-
"stadium": 0.
|
| 80 |
-
"temple": 0.
|
| 81 |
-
"windmill": 0.
|
| 82 |
-
}
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"ece": 0.1204,
|
| 3 |
"n_bins": 15,
|
| 4 |
"bin_boundaries": [
|
| 5 |
0.0,
|
|
|
|
| 24 |
0.0,
|
| 25 |
0.0,
|
| 26 |
0.0,
|
| 27 |
+
0.5,
|
| 28 |
+
0.5,
|
| 29 |
+
0.2,
|
| 30 |
+
0.5455,
|
| 31 |
+
1.0,
|
| 32 |
+
0.6923,
|
| 33 |
+
1.0,
|
| 34 |
+
0.9524,
|
| 35 |
+
0.9932,
|
| 36 |
+
0.9958,
|
| 37 |
1.0
|
| 38 |
],
|
| 39 |
"bin_confidences": [
|
| 40 |
0.0333,
|
| 41 |
0.1,
|
| 42 |
0.1667,
|
| 43 |
+
0.265,
|
| 44 |
+
0.3007,
|
| 45 |
+
0.3677,
|
| 46 |
+
0.4269,
|
| 47 |
+
0.4925,
|
| 48 |
+
0.5783,
|
| 49 |
+
0.6356,
|
| 50 |
+
0.6943,
|
| 51 |
+
0.7747,
|
| 52 |
+
0.8415,
|
| 53 |
+
0.8981,
|
| 54 |
+
0.9446
|
| 55 |
],
|
| 56 |
"bin_counts": [
|
| 57 |
0,
|
| 58 |
0,
|
| 59 |
0,
|
| 60 |
1,
|
| 61 |
+
4,
|
| 62 |
+
2,
|
| 63 |
+
10,
|
| 64 |
11,
|
| 65 |
+
2,
|
| 66 |
+
13,
|
| 67 |
+
16,
|
| 68 |
+
63,
|
| 69 |
+
439,
|
| 70 |
+
708,
|
| 71 |
+
75
|
|
|
|
| 72 |
],
|
| 73 |
"per_class_auc": {
|
| 74 |
+
"barn": 0.995,
|
| 75 |
+
"bridge": 0.9983,
|
| 76 |
+
"castle": 0.9996,
|
| 77 |
+
"mosque": 0.9987,
|
| 78 |
"skyscraper": 0.9999,
|
| 79 |
+
"stadium": 0.9999,
|
| 80 |
+
"temple": 0.9976,
|
| 81 |
+
"windmill": 0.9987
|
| 82 |
+
},
|
| 83 |
+
"temperature": 0.5400049194398104,
|
| 84 |
+
"ece_before_t_scaling": 0.12037282419346627,
|
| 85 |
+
"ece_after_t_scaling": 0.005275941378937221
|
| 86 |
}
|