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": {
|
|
@@ -40,7 +40,8 @@
|
|
| 40 |
0.2046484798192978,
|
| 41 |
0.21061262488365173,
|
| 42 |
0.20049527287483215,
|
| 43 |
-
0.20789550244808197
|
|
|
|
| 44 |
],
|
| 45 |
"accuracy": [
|
| 46 |
0.7721806168556213,
|
|
@@ -78,7 +79,8 @@
|
|
| 78 |
0.9162696003913879,
|
| 79 |
0.9115044474601746,
|
| 80 |
0.9178579449653625,
|
| 81 |
-
0.916042685508728
|
|
|
|
| 82 |
],
|
| 83 |
"val_loss": [
|
| 84 |
0.23263464868068695,
|
|
@@ -116,7 +118,8 @@
|
|
| 116 |
0.09052718430757523,
|
| 117 |
0.0898459255695343,
|
| 118 |
0.09193039685487747,
|
| 119 |
-
0.09189973771572113
|
|
|
|
| 120 |
],
|
| 121 |
"val_accuracy": [
|
| 122 |
0.9222221970558167,
|
|
@@ -154,6 +157,7 @@
|
|
| 154 |
0.9722222089767456,
|
| 155 |
0.9722222089767456,
|
| 156 |
0.9722222089767456,
|
|
|
|
| 157 |
0.9722222089767456
|
| 158 |
]
|
| 159 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 2,
|
| 3 |
+
"epoch_global": 37,
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
|
|
| 40 |
0.2046484798192978,
|
| 41 |
0.21061262488365173,
|
| 42 |
0.20049527287483215,
|
| 43 |
+
0.20789550244808197,
|
| 44 |
+
0.20415180921554565
|
| 45 |
],
|
| 46 |
"accuracy": [
|
| 47 |
0.7721806168556213,
|
|
|
|
| 79 |
0.9162696003913879,
|
| 80 |
0.9115044474601746,
|
| 81 |
0.9178579449653625,
|
| 82 |
+
0.916042685508728,
|
| 83 |
+
0.9174797534942627
|
| 84 |
],
|
| 85 |
"val_loss": [
|
| 86 |
0.23263464868068695,
|
|
|
|
| 118 |
0.09052718430757523,
|
| 119 |
0.0898459255695343,
|
| 120 |
0.09193039685487747,
|
| 121 |
+
0.09189973771572113,
|
| 122 |
+
0.09162883460521698
|
| 123 |
],
|
| 124 |
"val_accuracy": [
|
| 125 |
0.9222221970558167,
|
|
|
|
| 157 |
0.9722222089767456,
|
| 158 |
0.9722222089767456,
|
| 159 |
0.9722222089767456,
|
| 160 |
+
0.9722222089767456,
|
| 161 |
0.9722222089767456
|
| 162 |
]
|
| 163 |
}
|