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 +9 -5
training_stats.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"phase": 1,
|
| 3 |
-
"epoch_global":
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
@@ -18,7 +18,8 @@
|
|
| 18 |
0.2716752290725708,
|
| 19 |
0.271904855966568,
|
| 20 |
0.2636116147041321,
|
| 21 |
-
0.25084540247917175
|
|
|
|
| 22 |
],
|
| 23 |
"accuracy": [
|
| 24 |
0.7721806168556213,
|
|
@@ -34,7 +35,8 @@
|
|
| 34 |
0.8815521001815796,
|
| 35 |
0.8870735764503479,
|
| 36 |
0.889267086982727,
|
| 37 |
-
0.892595112323761
|
|
|
|
| 38 |
],
|
| 39 |
"val_loss": [
|
| 40 |
0.23263464868068695,
|
|
@@ -50,7 +52,8 @@
|
|
| 50 |
0.12756100296974182,
|
| 51 |
0.12783141434192657,
|
| 52 |
0.11841613799333572,
|
| 53 |
-
0.11201294511556625
|
|
|
|
| 54 |
],
|
| 55 |
"val_accuracy": [
|
| 56 |
0.9222221970558167,
|
|
@@ -66,7 +69,8 @@
|
|
| 66 |
0.9611111283302307,
|
| 67 |
0.9722222089767456,
|
| 68 |
0.9722222089767456,
|
| 69 |
-
0.9777777791023254
|
|
|
|
| 70 |
]
|
| 71 |
}
|
| 72 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 1,
|
| 3 |
+
"epoch_global": 15,
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
|
|
| 18 |
0.2716752290725708,
|
| 19 |
0.271904855966568,
|
| 20 |
0.2636116147041321,
|
| 21 |
+
0.25084540247917175,
|
| 22 |
+
0.24979569017887115
|
| 23 |
],
|
| 24 |
"accuracy": [
|
| 25 |
0.7721806168556213,
|
|
|
|
| 35 |
0.8815521001815796,
|
| 36 |
0.8870735764503479,
|
| 37 |
0.889267086982727,
|
| 38 |
+
0.892595112323761,
|
| 39 |
+
0.8963769674301147
|
| 40 |
],
|
| 41 |
"val_loss": [
|
| 42 |
0.23263464868068695,
|
|
|
|
| 52 |
0.12756100296974182,
|
| 53 |
0.12783141434192657,
|
| 54 |
0.11841613799333572,
|
| 55 |
+
0.11201294511556625,
|
| 56 |
+
0.11613910645246506
|
| 57 |
],
|
| 58 |
"val_accuracy": [
|
| 59 |
0.9222221970558167,
|
|
|
|
| 69 |
0.9611111283302307,
|
| 70 |
0.9722222089767456,
|
| 71 |
0.9722222089767456,
|
| 72 |
+
0.9777777791023254,
|
| 73 |
+
0.9666666388511658
|
| 74 |
]
|
| 75 |
}
|
| 76 |
}
|