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": {
|
|
@@ -39,7 +39,8 @@
|
|
| 39 |
0.2097943127155304,
|
| 40 |
0.2046484798192978,
|
| 41 |
0.21061262488365173,
|
| 42 |
-
0.20049527287483215
|
|
|
|
| 43 |
],
|
| 44 |
"accuracy": [
|
| 45 |
0.7721806168556213,
|
|
@@ -76,7 +77,8 @@
|
|
| 76 |
0.916042685508728,
|
| 77 |
0.9162696003913879,
|
| 78 |
0.9115044474601746,
|
| 79 |
-
0.9178579449653625
|
|
|
|
| 80 |
],
|
| 81 |
"val_loss": [
|
| 82 |
0.23263464868068695,
|
|
@@ -113,7 +115,8 @@
|
|
| 113 |
0.09129680693149567,
|
| 114 |
0.09052718430757523,
|
| 115 |
0.0898459255695343,
|
| 116 |
-
0.09193039685487747
|
|
|
|
| 117 |
],
|
| 118 |
"val_accuracy": [
|
| 119 |
0.9222221970558167,
|
|
@@ -150,6 +153,7 @@
|
|
| 150 |
0.9722222089767456,
|
| 151 |
0.9722222089767456,
|
| 152 |
0.9722222089767456,
|
|
|
|
| 153 |
0.9722222089767456
|
| 154 |
]
|
| 155 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 2,
|
| 3 |
+
"epoch_global": 36,
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
|
|
| 39 |
0.2097943127155304,
|
| 40 |
0.2046484798192978,
|
| 41 |
0.21061262488365173,
|
| 42 |
+
0.20049527287483215,
|
| 43 |
+
0.20789550244808197
|
| 44 |
],
|
| 45 |
"accuracy": [
|
| 46 |
0.7721806168556213,
|
|
|
|
| 77 |
0.916042685508728,
|
| 78 |
0.9162696003913879,
|
| 79 |
0.9115044474601746,
|
| 80 |
+
0.9178579449653625,
|
| 81 |
+
0.916042685508728
|
| 82 |
],
|
| 83 |
"val_loss": [
|
| 84 |
0.23263464868068695,
|
|
|
|
| 115 |
0.09129680693149567,
|
| 116 |
0.09052718430757523,
|
| 117 |
0.0898459255695343,
|
| 118 |
+
0.09193039685487747,
|
| 119 |
+
0.09189973771572113
|
| 120 |
],
|
| 121 |
"val_accuracy": [
|
| 122 |
0.9222221970558167,
|
|
|
|
| 153 |
0.9722222089767456,
|
| 154 |
0.9722222089767456,
|
| 155 |
0.9722222089767456,
|
| 156 |
+
0.9722222089767456,
|
| 157 |
0.9722222089767456
|
| 158 |
]
|
| 159 |
}
|