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": {
|
|
@@ -11,7 +11,8 @@
|
|
| 11 |
0.35668617486953735,
|
| 12 |
0.34522300958633423,
|
| 13 |
0.33733460307121277,
|
| 14 |
-
0.3224019408226013
|
|
|
|
| 15 |
],
|
| 16 |
"accuracy": [
|
| 17 |
0.7721806168556213,
|
|
@@ -20,7 +21,8 @@
|
|
| 20 |
0.8433552384376526,
|
| 21 |
0.8463807702064514,
|
| 22 |
0.8516753911972046,
|
| 23 |
-
0.859466016292572
|
|
|
|
| 24 |
],
|
| 25 |
"val_loss": [
|
| 26 |
0.23263464868068695,
|
|
@@ -29,7 +31,8 @@
|
|
| 29 |
0.16919085383415222,
|
| 30 |
0.15985532104969025,
|
| 31 |
0.1529870182275772,
|
| 32 |
-
0.17427904903888702
|
|
|
|
| 33 |
],
|
| 34 |
"val_accuracy": [
|
| 35 |
0.9222221970558167,
|
|
@@ -38,6 +41,7 @@
|
|
| 38 |
0.9333333373069763,
|
| 39 |
0.9444444179534912,
|
| 40 |
0.9666666388511658,
|
|
|
|
| 41 |
0.9444444179534912
|
| 42 |
]
|
| 43 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 1,
|
| 3 |
+
"epoch_global": 8,
|
| 4 |
"best_val_acc": 0.9666666388511658,
|
| 5 |
"best_val_loss": 0.1529870182275772,
|
| 6 |
"history": {
|
|
|
|
| 11 |
0.35668617486953735,
|
| 12 |
0.34522300958633423,
|
| 13 |
0.33733460307121277,
|
| 14 |
+
0.3224019408226013,
|
| 15 |
+
0.3135400116443634
|
| 16 |
],
|
| 17 |
"accuracy": [
|
| 18 |
0.7721806168556213,
|
|
|
|
| 21 |
0.8433552384376526,
|
| 22 |
0.8463807702064514,
|
| 23 |
0.8516753911972046,
|
| 24 |
+
0.859466016292572,
|
| 25 |
+
0.8641555309295654
|
| 26 |
],
|
| 27 |
"val_loss": [
|
| 28 |
0.23263464868068695,
|
|
|
|
| 31 |
0.16919085383415222,
|
| 32 |
0.15985532104969025,
|
| 33 |
0.1529870182275772,
|
| 34 |
+
0.17427904903888702,
|
| 35 |
+
0.16664457321166992
|
| 36 |
],
|
| 37 |
"val_accuracy": [
|
| 38 |
0.9222221970558167,
|
|
|
|
| 41 |
0.9333333373069763,
|
| 42 |
0.9444444179534912,
|
| 43 |
0.9666666388511658,
|
| 44 |
+
0.9444444179534912,
|
| 45 |
0.9444444179534912
|
| 46 |
]
|
| 47 |
}
|