Image Classification
Keras
LiteRT
English
mobilenet-v2-035
food-classification
efficientnet
tensorflow
tfjs
transfer-learning
Eval Results (legacy)
Instructions to use zeyuai/efficientnet-food-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use zeyuai/efficientnet-food-classifier with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeyuai/efficientnet-food-classifier") - Notebooks
- Google Colab
- Kaggle
Upload EfficientNet food classifier (Keras + TFLite + TFJS)
Browse files- rapport_validation_modeles.pdf +2 -2
- tflite/metadata.json +3 -3
- tflite/model.tflite +2 -2
- tflite/model_float16.tflite +2 -2
- validation_metrics.json +27 -27
- validation_report.html +0 -0
rapport_validation_modeles.pdf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:573021edf5cee759457571f73aca5eeb1d4279afd4409d0792fec2eed5c5ddbb
|
| 3 |
+
size 466943
|
tflite/metadata.json
CHANGED
|
@@ -9,9 +9,9 @@
|
|
| 9 |
"input_dtype": "float32",
|
| 10 |
"output_shape": [
|
| 11 |
1,
|
| 12 |
-
|
| 13 |
],
|
| 14 |
"quantization": "dynamic_range",
|
| 15 |
-
"model_size_mb":
|
| 16 |
-
"model_size_f16_mb":
|
| 17 |
}
|
|
|
|
| 9 |
"input_dtype": "float32",
|
| 10 |
"output_shape": [
|
| 11 |
1,
|
| 12 |
+
9
|
| 13 |
],
|
| 14 |
"quantization": "dynamic_range",
|
| 15 |
+
"model_size_mb": 0.54,
|
| 16 |
+
"model_size_f16_mb": 0.82
|
| 17 |
}
|
tflite/model.tflite
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dff1363b3e903e051ad3b0e1891dd54904f8e291fc06a6b4302ff308695ceb1e
|
| 3 |
+
size 562584
|
tflite/model_float16.tflite
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b70c928a565a3f96be69d6c06cd6a48674b42d15b579c2c6fcd45a85ef82197d
|
| 3 |
+
size 854800
|
validation_metrics.json
CHANGED
|
@@ -1,35 +1,35 @@
|
|
| 1 |
{
|
| 2 |
"Keras": {
|
| 3 |
-
"accuracy": 0.
|
| 4 |
-
"precision_weighted": 0.
|
| 5 |
-
"recall_weighted": 0.
|
| 6 |
-
"f1_weighted": 0.
|
| 7 |
-
"f1_macro": 0.
|
| 8 |
-
"elapsed_seconds":
|
| 9 |
-
"images_per_second":
|
| 10 |
-
"file_size_mb": "
|
| 11 |
},
|
| 12 |
"TFLite": {
|
| 13 |
-
"accuracy": 0.
|
| 14 |
-
"precision_weighted": 0.
|
| 15 |
-
"recall_weighted": 0.
|
| 16 |
-
"f1_weighted": 0.
|
| 17 |
-
"f1_macro": 0.
|
| 18 |
-
"elapsed_seconds":
|
| 19 |
-
"images_per_second":
|
| 20 |
-
"file_size_mb": "
|
| 21 |
},
|
| 22 |
"TFLite-fp16": {
|
| 23 |
-
"accuracy": 0.
|
| 24 |
-
"precision_weighted": 0.
|
| 25 |
-
"recall_weighted": 0.
|
| 26 |
-
"f1_weighted": 0.
|
| 27 |
-
"f1_macro": 0.
|
| 28 |
-
"elapsed_seconds":
|
| 29 |
-
"images_per_second":
|
| 30 |
-
"file_size_mb": "
|
| 31 |
},
|
| 32 |
-
"agreement_Keras_vs_TFLite": "
|
| 33 |
-
"agreement_Keras_vs_TFLite-fp16": "99.
|
| 34 |
-
"agreement_TFLite_vs_TFLite-fp16": "
|
| 35 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"Keras": {
|
| 3 |
+
"accuracy": 0.8558091286307054,
|
| 4 |
+
"precision_weighted": 0.8666526359435469,
|
| 5 |
+
"recall_weighted": 0.8558091286307054,
|
| 6 |
+
"f1_weighted": 0.85640806010382,
|
| 7 |
+
"f1_macro": 0.8434107272000173,
|
| 8 |
+
"elapsed_seconds": 5.364844799041748,
|
| 9 |
+
"images_per_second": 179.6883295062304,
|
| 10 |
+
"file_size_mb": "5.3"
|
| 11 |
},
|
| 12 |
"TFLite": {
|
| 13 |
+
"accuracy": 0.8475103734439834,
|
| 14 |
+
"precision_weighted": 0.8580648419239739,
|
| 15 |
+
"recall_weighted": 0.8475103734439834,
|
| 16 |
+
"f1_weighted": 0.8476776513487304,
|
| 17 |
+
"f1_macro": 0.835230981636299,
|
| 18 |
+
"elapsed_seconds": 3.749859094619751,
|
| 19 |
+
"images_per_second": 257.0763262500009,
|
| 20 |
+
"file_size_mb": "0.5"
|
| 21 |
},
|
| 22 |
"TFLite-fp16": {
|
| 23 |
+
"accuracy": 0.8537344398340249,
|
| 24 |
+
"precision_weighted": 0.8644842534922317,
|
| 25 |
+
"recall_weighted": 0.8537344398340249,
|
| 26 |
+
"f1_weighted": 0.8542669093485433,
|
| 27 |
+
"f1_macro": 0.8415336585341004,
|
| 28 |
+
"elapsed_seconds": 2.708963394165039,
|
| 29 |
+
"images_per_second": 355.85567604065966,
|
| 30 |
+
"file_size_mb": "0.8"
|
| 31 |
},
|
| 32 |
+
"agreement_Keras_vs_TFLite": "96.27%",
|
| 33 |
+
"agreement_Keras_vs_TFLite-fp16": "99.69%",
|
| 34 |
+
"agreement_TFLite_vs_TFLite-fp16": "96.16%"
|
| 35 |
}
|
validation_report.html
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|