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.9722222089767456,
|
| 5 |
"best_val_loss": 0.12783141434192657,
|
| 6 |
"history": {
|
|
@@ -16,7 +16,8 @@
|
|
| 16 |
0.3115611970424652,
|
| 17 |
0.28520792722702026,
|
| 18 |
0.2716752290725708,
|
| 19 |
-
0.271904855966568
|
|
|
|
| 20 |
],
|
| 21 |
"accuracy": [
|
| 22 |
0.7721806168556213,
|
|
@@ -30,7 +31,8 @@
|
|
| 30 |
0.8642311692237854,
|
| 31 |
0.877921462059021,
|
| 32 |
0.8815521001815796,
|
| 33 |
-
0.8870735764503479
|
|
|
|
| 34 |
],
|
| 35 |
"val_loss": [
|
| 36 |
0.23263464868068695,
|
|
@@ -44,7 +46,8 @@
|
|
| 44 |
0.1646467000246048,
|
| 45 |
0.1460321843624115,
|
| 46 |
0.12756100296974182,
|
| 47 |
-
0.12783141434192657
|
|
|
|
| 48 |
],
|
| 49 |
"val_accuracy": [
|
| 50 |
0.9222221970558167,
|
|
@@ -58,6 +61,7 @@
|
|
| 58 |
0.9444444179534912,
|
| 59 |
0.9444444179534912,
|
| 60 |
0.9611111283302307,
|
|
|
|
| 61 |
0.9722222089767456
|
| 62 |
]
|
| 63 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 1,
|
| 3 |
+
"epoch_global": 13,
|
| 4 |
"best_val_acc": 0.9722222089767456,
|
| 5 |
"best_val_loss": 0.12783141434192657,
|
| 6 |
"history": {
|
|
|
|
| 16 |
0.3115611970424652,
|
| 17 |
0.28520792722702026,
|
| 18 |
0.2716752290725708,
|
| 19 |
+
0.271904855966568,
|
| 20 |
+
0.2636116147041321
|
| 21 |
],
|
| 22 |
"accuracy": [
|
| 23 |
0.7721806168556213,
|
|
|
|
| 31 |
0.8642311692237854,
|
| 32 |
0.877921462059021,
|
| 33 |
0.8815521001815796,
|
| 34 |
+
0.8870735764503479,
|
| 35 |
+
0.889267086982727
|
| 36 |
],
|
| 37 |
"val_loss": [
|
| 38 |
0.23263464868068695,
|
|
|
|
| 46 |
0.1646467000246048,
|
| 47 |
0.1460321843624115,
|
| 48 |
0.12756100296974182,
|
| 49 |
+
0.12783141434192657,
|
| 50 |
+
0.11841613799333572
|
| 51 |
],
|
| 52 |
"val_accuracy": [
|
| 53 |
0.9222221970558167,
|
|
|
|
| 61 |
0.9444444179534912,
|
| 62 |
0.9444444179534912,
|
| 63 |
0.9611111283302307,
|
| 64 |
+
0.9722222089767456,
|
| 65 |
0.9722222089767456
|
| 66 |
]
|
| 67 |
}
|