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": 2,
|
| 3 |
-
"epoch_global":
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
@@ -22,7 +22,8 @@
|
|
| 22 |
0.24979569017887115,
|
| 23 |
0.3537147641181946,
|
| 24 |
0.3216423988342285,
|
| 25 |
-
0.2985667884349823
|
|
|
|
| 26 |
],
|
| 27 |
"accuracy": [
|
| 28 |
0.7721806168556213,
|
|
@@ -42,7 +43,8 @@
|
|
| 42 |
0.8963769674301147,
|
| 43 |
0.8523560762405396,
|
| 44 |
0.8636260628700256,
|
| 45 |
-
0.8742152452468872
|
|
|
|
| 46 |
],
|
| 47 |
"val_loss": [
|
| 48 |
0.23263464868068695,
|
|
@@ -62,7 +64,8 @@
|
|
| 62 |
0.11613910645246506,
|
| 63 |
0.09671363979578018,
|
| 64 |
0.09473103284835815,
|
| 65 |
-
0.09917833656072617
|
|
|
|
| 66 |
],
|
| 67 |
"val_accuracy": [
|
| 68 |
0.9222221970558167,
|
|
@@ -82,7 +85,8 @@
|
|
| 82 |
0.9666666388511658,
|
| 83 |
0.9611111283302307,
|
| 84 |
0.9666666388511658,
|
| 85 |
-
0.9722222089767456
|
|
|
|
| 86 |
]
|
| 87 |
}
|
| 88 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 2,
|
| 3 |
+
"epoch_global": 19,
|
| 4 |
"best_val_acc": 0.9777777791023254,
|
| 5 |
"best_val_loss": 0.11201294511556625,
|
| 6 |
"history": {
|
|
|
|
| 22 |
0.24979569017887115,
|
| 23 |
0.3537147641181946,
|
| 24 |
0.3216423988342285,
|
| 25 |
+
0.2985667884349823,
|
| 26 |
+
0.2807298004627228
|
| 27 |
],
|
| 28 |
"accuracy": [
|
| 29 |
0.7721806168556213,
|
|
|
|
| 43 |
0.8963769674301147,
|
| 44 |
0.8523560762405396,
|
| 45 |
0.8636260628700256,
|
| 46 |
+
0.8742152452468872,
|
| 47 |
+
0.8817033767700195
|
| 48 |
],
|
| 49 |
"val_loss": [
|
| 50 |
0.23263464868068695,
|
|
|
|
| 64 |
0.11613910645246506,
|
| 65 |
0.09671363979578018,
|
| 66 |
0.09473103284835815,
|
| 67 |
+
0.09917833656072617,
|
| 68 |
+
0.09357432276010513
|
| 69 |
],
|
| 70 |
"val_accuracy": [
|
| 71 |
0.9222221970558167,
|
|
|
|
| 85 |
0.9666666388511658,
|
| 86 |
0.9611111283302307,
|
| 87 |
0.9666666388511658,
|
| 88 |
+
0.9722222089767456,
|
| 89 |
+
0.9666666388511658
|
| 90 |
]
|
| 91 |
}
|
| 92 |
}
|