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": {
|
|
@@ -29,7 +29,8 @@
|
|
| 29 |
0.24194025993347168,
|
| 30 |
0.23161178827285767,
|
| 31 |
0.22409576177597046,
|
| 32 |
-
0.22456999123096466
|
|
|
|
| 33 |
],
|
| 34 |
"accuracy": [
|
| 35 |
0.7721806168556213,
|
|
@@ -56,7 +57,8 @@
|
|
| 56 |
0.8977384567260742,
|
| 57 |
0.9022010564804077,
|
| 58 |
0.9084032773971558,
|
| 59 |
-
0.907344400882721
|
|
|
|
| 60 |
],
|
| 61 |
"val_loss": [
|
| 62 |
0.23263464868068695,
|
|
@@ -83,7 +85,8 @@
|
|
| 83 |
0.10498888045549393,
|
| 84 |
0.10086889564990997,
|
| 85 |
0.1027996689081192,
|
| 86 |
-
0.10608465224504471
|
|
|
|
| 87 |
],
|
| 88 |
"val_accuracy": [
|
| 89 |
0.9222221970558167,
|
|
@@ -110,6 +113,7 @@
|
|
| 110 |
0.9722222089767456,
|
| 111 |
0.9722222089767456,
|
| 112 |
0.9722222089767456,
|
|
|
|
| 113 |
0.9722222089767456
|
| 114 |
]
|
| 115 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 2,
|
| 3 |
+
"epoch_global": 26,
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
|
|
| 29 |
0.24194025993347168,
|
| 30 |
0.23161178827285767,
|
| 31 |
0.22409576177597046,
|
| 32 |
+
0.22456999123096466,
|
| 33 |
+
0.22122134268283844
|
| 34 |
],
|
| 35 |
"accuracy": [
|
| 36 |
0.7721806168556213,
|
|
|
|
| 57 |
0.8977384567260742,
|
| 58 |
0.9022010564804077,
|
| 59 |
0.9084032773971558,
|
| 60 |
+
0.907344400882721,
|
| 61 |
+
0.9115800857543945
|
| 62 |
],
|
| 63 |
"val_loss": [
|
| 64 |
0.23263464868068695,
|
|
|
|
| 85 |
0.10498888045549393,
|
| 86 |
0.10086889564990997,
|
| 87 |
0.1027996689081192,
|
| 88 |
+
0.10608465224504471,
|
| 89 |
+
0.10064270347356796
|
| 90 |
],
|
| 91 |
"val_accuracy": [
|
| 92 |
0.9222221970558167,
|
|
|
|
| 113 |
0.9722222089767456,
|
| 114 |
0.9722222089767456,
|
| 115 |
0.9722222089767456,
|
| 116 |
+
0.9722222089767456,
|
| 117 |
0.9722222089767456
|
| 118 |
]
|
| 119 |
}
|