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": 1,
|
| 3 |
-
"epoch_global":
|
| 4 |
"best_val_acc": 0.9666666388511658,
|
| 5 |
"best_val_loss": 0.1529870182275772,
|
| 6 |
"history": {
|
|
@@ -13,7 +13,8 @@
|
|
| 13 |
0.33733460307121277,
|
| 14 |
0.3224019408226013,
|
| 15 |
0.3135400116443634,
|
| 16 |
-
0.3115611970424652
|
|
|
|
| 17 |
],
|
| 18 |
"accuracy": [
|
| 19 |
0.7721806168556213,
|
|
@@ -24,7 +25,8 @@
|
|
| 24 |
0.8516753911972046,
|
| 25 |
0.859466016292572,
|
| 26 |
0.8641555309295654,
|
| 27 |
-
0.8642311692237854
|
|
|
|
| 28 |
],
|
| 29 |
"val_loss": [
|
| 30 |
0.23263464868068695,
|
|
@@ -35,7 +37,8 @@
|
|
| 35 |
0.1529870182275772,
|
| 36 |
0.17427904903888702,
|
| 37 |
0.16664457321166992,
|
| 38 |
-
0.1646467000246048
|
|
|
|
| 39 |
],
|
| 40 |
"val_accuracy": [
|
| 41 |
0.9222221970558167,
|
|
@@ -46,6 +49,7 @@
|
|
| 46 |
0.9666666388511658,
|
| 47 |
0.9444444179534912,
|
| 48 |
0.9444444179534912,
|
|
|
|
| 49 |
0.9444444179534912
|
| 50 |
]
|
| 51 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 1,
|
| 3 |
+
"epoch_global": 10,
|
| 4 |
"best_val_acc": 0.9666666388511658,
|
| 5 |
"best_val_loss": 0.1529870182275772,
|
| 6 |
"history": {
|
|
|
|
| 13 |
0.33733460307121277,
|
| 14 |
0.3224019408226013,
|
| 15 |
0.3135400116443634,
|
| 16 |
+
0.3115611970424652,
|
| 17 |
+
0.28520792722702026
|
| 18 |
],
|
| 19 |
"accuracy": [
|
| 20 |
0.7721806168556213,
|
|
|
|
| 25 |
0.8516753911972046,
|
| 26 |
0.859466016292572,
|
| 27 |
0.8641555309295654,
|
| 28 |
+
0.8642311692237854,
|
| 29 |
+
0.877921462059021
|
| 30 |
],
|
| 31 |
"val_loss": [
|
| 32 |
0.23263464868068695,
|
|
|
|
| 37 |
0.1529870182275772,
|
| 38 |
0.17427904903888702,
|
| 39 |
0.16664457321166992,
|
| 40 |
+
0.1646467000246048,
|
| 41 |
+
0.1460321843624115
|
| 42 |
],
|
| 43 |
"val_accuracy": [
|
| 44 |
0.9222221970558167,
|
|
|
|
| 49 |
0.9666666388511658,
|
| 50 |
0.9444444179534912,
|
| 51 |
0.9444444179534912,
|
| 52 |
+
0.9444444179534912,
|
| 53 |
0.9444444179534912
|
| 54 |
]
|
| 55 |
}
|