Instructions to use basant18/Smoking-detection-MobileNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use basant18/Smoking-detection-MobileNet with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://basant18/Smoking-detection-MobileNet") - Notebooks
- Google Colab
- Kaggle
Upload training_stats.json with huggingface_hub
Browse files- training_stats.json +8 -4
training_stats.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"phase": 2,
|
| 3 |
-
"epoch_global":
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
@@ -34,7 +34,8 @@
|
|
| 34 |
0.2199689745903015,
|
| 35 |
0.2189551740884781,
|
| 36 |
0.20979627966880798,
|
| 37 |
-
0.21249495446681976
|
|
|
|
| 38 |
],
|
| 39 |
"accuracy": [
|
| 40 |
0.7721806168556213,
|
|
@@ -66,7 +67,8 @@
|
|
| 66 |
0.9094622135162354,
|
| 67 |
0.9094622135162354,
|
| 68 |
0.9152106642723083,
|
| 69 |
-
0.913395345211029
|
|
|
|
| 70 |
],
|
| 71 |
"val_loss": [
|
| 72 |
0.23263464868068695,
|
|
@@ -98,7 +100,8 @@
|
|
| 98 |
0.08973866701126099,
|
| 99 |
0.09406672418117523,
|
| 100 |
0.09544801712036133,
|
| 101 |
-
0.09003451466560364
|
|
|
|
| 102 |
],
|
| 103 |
"val_accuracy": [
|
| 104 |
0.9222221970558167,
|
|
@@ -130,6 +133,7 @@
|
|
| 130 |
0.9722222089767456,
|
| 131 |
0.9722222089767456,
|
| 132 |
0.9722222089767456,
|
|
|
|
| 133 |
0.9722222089767456
|
| 134 |
]
|
| 135 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 2,
|
| 3 |
+
"epoch_global": 31,
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
|
|
| 34 |
0.2199689745903015,
|
| 35 |
0.2189551740884781,
|
| 36 |
0.20979627966880798,
|
| 37 |
+
0.21249495446681976,
|
| 38 |
+
0.2125702202320099
|
| 39 |
],
|
| 40 |
"accuracy": [
|
| 41 |
0.7721806168556213,
|
|
|
|
| 67 |
0.9094622135162354,
|
| 68 |
0.9094622135162354,
|
| 69 |
0.9152106642723083,
|
| 70 |
+
0.913395345211029,
|
| 71 |
+
0.9116557240486145
|
| 72 |
],
|
| 73 |
"val_loss": [
|
| 74 |
0.23263464868068695,
|
|
|
|
| 100 |
0.08973866701126099,
|
| 101 |
0.09406672418117523,
|
| 102 |
0.09544801712036133,
|
| 103 |
+
0.09003451466560364,
|
| 104 |
+
0.09001041203737259
|
| 105 |
],
|
| 106 |
"val_accuracy": [
|
| 107 |
0.9222221970558167,
|
|
|
|
| 133 |
0.9722222089767456,
|
| 134 |
0.9722222089767456,
|
| 135 |
0.9722222089767456,
|
| 136 |
+
0.9722222089767456,
|
| 137 |
0.9722222089767456
|
| 138 |
]
|
| 139 |
}
|