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,24 +1,28 @@
|
|
| 1 |
{
|
| 2 |
"phase": 1,
|
| 3 |
-
"epoch_global":
|
| 4 |
"best_val_acc": 0.9388889074325562,
|
| 5 |
"best_val_loss": 0.19750243425369263,
|
| 6 |
"history": {
|
| 7 |
"loss": [
|
| 8 |
0.49225616455078125,
|
| 9 |
-
0.40346693992614746
|
|
|
|
| 10 |
],
|
| 11 |
"accuracy": [
|
| 12 |
0.7721806168556213,
|
| 13 |
-
0.8166553378105164
|
|
|
|
| 14 |
],
|
| 15 |
"val_loss": [
|
| 16 |
0.23263464868068695,
|
| 17 |
-
0.19750243425369263
|
|
|
|
| 18 |
],
|
| 19 |
"val_accuracy": [
|
| 20 |
0.9222221970558167,
|
| 21 |
-
0.9388889074325562
|
|
|
|
| 22 |
]
|
| 23 |
}
|
| 24 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"phase": 1,
|
| 3 |
+
"epoch_global": 3,
|
| 4 |
"best_val_acc": 0.9388889074325562,
|
| 5 |
"best_val_loss": 0.19750243425369263,
|
| 6 |
"history": {
|
| 7 |
"loss": [
|
| 8 |
0.49225616455078125,
|
| 9 |
+
0.40346693992614746,
|
| 10 |
+
0.36795684695243835
|
| 11 |
],
|
| 12 |
"accuracy": [
|
| 13 |
0.7721806168556213,
|
| 14 |
+
0.8166553378105164,
|
| 15 |
+
0.8393464684486389
|
| 16 |
],
|
| 17 |
"val_loss": [
|
| 18 |
0.23263464868068695,
|
| 19 |
+
0.19750243425369263,
|
| 20 |
+
0.19446466863155365
|
| 21 |
],
|
| 22 |
"val_accuracy": [
|
| 23 |
0.9222221970558167,
|
| 24 |
+
0.9388889074325562,
|
| 25 |
+
0.9222221970558167
|
| 26 |
]
|
| 27 |
}
|
| 28 |
}
|