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 +41 -41
calibration_data.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"ece": 0.
|
| 3 |
"n_bins": 15,
|
| 4 |
"bin_boundaries": [
|
| 5 |
0.0,
|
|
@@ -24,63 +24,63 @@
|
|
| 24 |
0.0,
|
| 25 |
0.0,
|
| 26 |
0.0,
|
| 27 |
-
0.
|
| 28 |
-
0.
|
| 29 |
-
0.
|
| 30 |
-
0.
|
| 31 |
-
|
| 32 |
-
0.
|
| 33 |
1.0,
|
| 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 |
-
4,
|
| 62 |
2,
|
|
|
|
|
|
|
| 63 |
10,
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
75
|
| 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 |
-
"temperature": 0.
|
| 84 |
-
"ece_before_t_scaling": 0.
|
| 85 |
-
"ece_after_t_scaling": 0.
|
| 86 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"ece": 0.1813,
|
| 3 |
"n_bins": 15,
|
| 4 |
"bin_boundaries": [
|
| 5 |
0.0,
|
|
|
|
| 24 |
0.0,
|
| 25 |
0.0,
|
| 26 |
0.0,
|
| 27 |
+
0.0,
|
| 28 |
+
0.0,
|
| 29 |
+
0.2857,
|
| 30 |
+
0.4,
|
| 31 |
+
0.75,
|
| 32 |
+
0.8824,
|
| 33 |
1.0,
|
| 34 |
+
0.9865,
|
| 35 |
+
0.9977,
|
| 36 |
+
0.9375,
|
| 37 |
1.0
|
| 38 |
],
|
| 39 |
"bin_confidences": [
|
| 40 |
0.0333,
|
| 41 |
0.1,
|
| 42 |
0.1667,
|
| 43 |
+
0.2306,
|
| 44 |
+
0.3179,
|
| 45 |
+
0.3818,
|
| 46 |
+
0.4339,
|
| 47 |
+
0.502,
|
| 48 |
+
0.5496,
|
| 49 |
+
0.6375,
|
| 50 |
+
0.7084,
|
| 51 |
+
0.7819,
|
| 52 |
+
0.8255,
|
| 53 |
+
0.8889,
|
| 54 |
+
0.9381
|
| 55 |
],
|
| 56 |
"bin_counts": [
|
| 57 |
0,
|
| 58 |
0,
|
| 59 |
0,
|
| 60 |
1,
|
|
|
|
| 61 |
2,
|
| 62 |
+
1,
|
| 63 |
+
7,
|
| 64 |
10,
|
| 65 |
+
8,
|
| 66 |
+
17,
|
| 67 |
+
26,
|
| 68 |
+
371,
|
| 69 |
+
868,
|
| 70 |
+
32,
|
| 71 |
+
1
|
|
|
|
| 72 |
],
|
| 73 |
"per_class_auc": {
|
| 74 |
+
"barn": 0.9955,
|
| 75 |
+
"bridge": 0.9977,
|
| 76 |
+
"castle": 0.9998,
|
| 77 |
+
"mosque": 0.999,
|
| 78 |
"skyscraper": 0.9999,
|
| 79 |
+
"stadium": 0.9954,
|
| 80 |
+
"temple": 0.9944,
|
| 81 |
+
"windmill": 0.9979
|
| 82 |
},
|
| 83 |
+
"temperature": 0.46449432701083704,
|
| 84 |
+
"ece_before_t_scaling": 0.18125913327648527,
|
| 85 |
+
"ece_after_t_scaling": 0.009534640510460726
|
| 86 |
}
|