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 +10 -6
training_stats.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
-
"phase":
|
| 3 |
-
"epoch_global":
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
@@ -19,7 +19,8 @@
|
|
| 19 |
0.271904855966568,
|
| 20 |
0.2636116147041321,
|
| 21 |
0.25084540247917175,
|
| 22 |
-
0.24979569017887115
|
|
|
|
| 23 |
],
|
| 24 |
"accuracy": [
|
| 25 |
0.7721806168556213,
|
|
@@ -36,7 +37,8 @@
|
|
| 36 |
0.8870735764503479,
|
| 37 |
0.889267086982727,
|
| 38 |
0.892595112323761,
|
| 39 |
-
0.8963769674301147
|
|
|
|
| 40 |
],
|
| 41 |
"val_loss": [
|
| 42 |
0.23263464868068695,
|
|
@@ -53,7 +55,8 @@
|
|
| 53 |
0.12783141434192657,
|
| 54 |
0.11841613799333572,
|
| 55 |
0.11201294511556625,
|
| 56 |
-
0.11613910645246506
|
|
|
|
| 57 |
],
|
| 58 |
"val_accuracy": [
|
| 59 |
0.9222221970558167,
|
|
@@ -70,7 +73,8 @@
|
|
| 70 |
0.9722222089767456,
|
| 71 |
0.9722222089767456,
|
| 72 |
0.9777777791023254,
|
| 73 |
-
0.9666666388511658
|
|
|
|
| 74 |
]
|
| 75 |
}
|
| 76 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"phase": 2,
|
| 3 |
+
"epoch_global": 16,
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
|
|
| 19 |
0.271904855966568,
|
| 20 |
0.2636116147041321,
|
| 21 |
0.25084540247917175,
|
| 22 |
+
0.24979569017887115,
|
| 23 |
+
0.3537147641181946
|
| 24 |
],
|
| 25 |
"accuracy": [
|
| 26 |
0.7721806168556213,
|
|
|
|
| 37 |
0.8870735764503479,
|
| 38 |
0.889267086982727,
|
| 39 |
0.892595112323761,
|
| 40 |
+
0.8963769674301147,
|
| 41 |
+
0.8523560762405396
|
| 42 |
],
|
| 43 |
"val_loss": [
|
| 44 |
0.23263464868068695,
|
|
|
|
| 55 |
0.12783141434192657,
|
| 56 |
0.11841613799333572,
|
| 57 |
0.11201294511556625,
|
| 58 |
+
0.11613910645246506,
|
| 59 |
+
0.09671363979578018
|
| 60 |
],
|
| 61 |
"val_accuracy": [
|
| 62 |
0.9222221970558167,
|
|
|
|
| 73 |
0.9722222089767456,
|
| 74 |
0.9722222089767456,
|
| 75 |
0.9777777791023254,
|
| 76 |
+
0.9666666388511658,
|
| 77 |
+
0.9611111283302307
|
| 78 |
]
|
| 79 |
}
|
| 80 |
}
|