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": {
|
|
@@ -35,7 +35,8 @@
|
|
| 35 |
0.2189551740884781,
|
| 36 |
0.20979627966880798,
|
| 37 |
0.21249495446681976,
|
| 38 |
-
0.2125702202320099
|
|
|
|
| 39 |
],
|
| 40 |
"accuracy": [
|
| 41 |
0.7721806168556213,
|
|
@@ -68,7 +69,8 @@
|
|
| 68 |
0.9094622135162354,
|
| 69 |
0.9152106642723083,
|
| 70 |
0.913395345211029,
|
| 71 |
-
0.9116557240486145
|
|
|
|
| 72 |
],
|
| 73 |
"val_loss": [
|
| 74 |
0.23263464868068695,
|
|
@@ -101,7 +103,8 @@
|
|
| 101 |
0.09406672418117523,
|
| 102 |
0.09544801712036133,
|
| 103 |
0.09003451466560364,
|
| 104 |
-
0.09001041203737259
|
|
|
|
| 105 |
],
|
| 106 |
"val_accuracy": [
|
| 107 |
0.9222221970558167,
|
|
@@ -134,6 +137,7 @@
|
|
| 134 |
0.9722222089767456,
|
| 135 |
0.9722222089767456,
|
| 136 |
0.9722222089767456,
|
|
|
|
| 137 |
0.9722222089767456
|
| 138 |
]
|
| 139 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 2,
|
| 3 |
+
"epoch_global": 32,
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
|
|
| 35 |
0.2189551740884781,
|
| 36 |
0.20979627966880798,
|
| 37 |
0.21249495446681976,
|
| 38 |
+
0.2125702202320099,
|
| 39 |
+
0.2097943127155304
|
| 40 |
],
|
| 41 |
"accuracy": [
|
| 42 |
0.7721806168556213,
|
|
|
|
| 69 |
0.9094622135162354,
|
| 70 |
0.9152106642723083,
|
| 71 |
0.913395345211029,
|
| 72 |
+
0.9116557240486145,
|
| 73 |
+
0.916042685508728
|
| 74 |
],
|
| 75 |
"val_loss": [
|
| 76 |
0.23263464868068695,
|
|
|
|
| 103 |
0.09406672418117523,
|
| 104 |
0.09544801712036133,
|
| 105 |
0.09003451466560364,
|
| 106 |
+
0.09001041203737259,
|
| 107 |
+
0.09129680693149567
|
| 108 |
],
|
| 109 |
"val_accuracy": [
|
| 110 |
0.9222221970558167,
|
|
|
|
| 137 |
0.9722222089767456,
|
| 138 |
0.9722222089767456,
|
| 139 |
0.9722222089767456,
|
| 140 |
+
0.9722222089767456,
|
| 141 |
0.9722222089767456
|
| 142 |
]
|
| 143 |
}
|