Image Classification
Transformers
TensorBoard
Safetensors
mobilenet_v2
Generated from Trainer
Eval Results (legacy)
Instructions to use ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease") model = AutoModelForImageClassification.from_pretrained("ozair23/mobilenet_v2_1.0_224-finetuned-plantdisease", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +3 -3
- all_results.json +11 -11
- eval_results.json +6 -6
- runs/Nov10_04-23-42_c425bf188df7/events.out.tfevents.1731226003.c425bf188df7.1044.1 +3 -0
- train_results.json +6 -6
- trainer_state.json +0 -0
README.md
CHANGED
|
@@ -23,7 +23,7 @@ model-index:
|
|
| 23 |
metrics:
|
| 24 |
- name: Accuracy
|
| 25 |
type: accuracy
|
| 26 |
-
value: 0.
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 33 |
|
| 34 |
This model is a fine-tuned version of [google/mobilenet_v2_1.0_224](https://huggingface.co/google/mobilenet_v2_1.0_224) on the imagefolder dataset.
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
-
- Loss: 0.
|
| 37 |
-
- Accuracy: 0.
|
| 38 |
|
| 39 |
## Model description
|
| 40 |
|
|
|
|
| 23 |
metrics:
|
| 24 |
- name: Accuracy
|
| 25 |
type: accuracy
|
| 26 |
+
value: 0.9777191259513872
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 33 |
|
| 34 |
This model is a fine-tuned version of [google/mobilenet_v2_1.0_224](https://huggingface.co/google/mobilenet_v2_1.0_224) on the imagefolder dataset.
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
+
- Loss: 0.0702
|
| 37 |
+
- Accuracy: 0.9777
|
| 38 |
|
| 39 |
## Model description
|
| 40 |
|
all_results.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
{
|
| 2 |
-
"epoch":
|
| 3 |
-
"eval_accuracy": 0.
|
| 4 |
-
"eval_loss": 0.
|
| 5 |
-
"eval_runtime":
|
| 6 |
-
"eval_samples_per_second":
|
| 7 |
-
"eval_steps_per_second":
|
| 8 |
-
"total_flos":
|
| 9 |
-
"train_loss": 0.
|
| 10 |
-
"train_runtime":
|
| 11 |
-
"train_samples_per_second":
|
| 12 |
-
"train_steps_per_second": 0.
|
| 13 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"epoch": 9.995635093845483,
|
| 3 |
+
"eval_accuracy": 0.9777191259513872,
|
| 4 |
+
"eval_loss": 0.07020638883113861,
|
| 5 |
+
"eval_runtime": 72.0557,
|
| 6 |
+
"eval_samples_per_second": 226.103,
|
| 7 |
+
"eval_steps_per_second": 7.078,
|
| 8 |
+
"total_flos": 3.92899376185344e+18,
|
| 9 |
+
"train_loss": 0.3148357209992721,
|
| 10 |
+
"train_runtime": 13104.719,
|
| 11 |
+
"train_samples_per_second": 111.886,
|
| 12 |
+
"train_steps_per_second": 0.874
|
| 13 |
}
|
eval_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"epoch":
|
| 3 |
-
"eval_accuracy": 0.
|
| 4 |
-
"eval_loss": 0.
|
| 5 |
-
"eval_runtime":
|
| 6 |
-
"eval_samples_per_second":
|
| 7 |
-
"eval_steps_per_second":
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"epoch": 9.995635093845483,
|
| 3 |
+
"eval_accuracy": 0.9777191259513872,
|
| 4 |
+
"eval_loss": 0.07020638883113861,
|
| 5 |
+
"eval_runtime": 72.0557,
|
| 6 |
+
"eval_samples_per_second": 226.103,
|
| 7 |
+
"eval_steps_per_second": 7.078
|
| 8 |
}
|
runs/Nov10_04-23-42_c425bf188df7/events.out.tfevents.1731226003.c425bf188df7.1044.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88d76b9156ded30b07494a8a89dc59a1ad9af943764420e600bc03ef4a72d1f5
|
| 3 |
+
size 411
|
train_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"epoch":
|
| 3 |
-
"total_flos":
|
| 4 |
-
"train_loss": 0.
|
| 5 |
-
"train_runtime":
|
| 6 |
-
"train_samples_per_second":
|
| 7 |
-
"train_steps_per_second": 0.
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"epoch": 9.995635093845483,
|
| 3 |
+
"total_flos": 3.92899376185344e+18,
|
| 4 |
+
"train_loss": 0.3148357209992721,
|
| 5 |
+
"train_runtime": 13104.719,
|
| 6 |
+
"train_samples_per_second": 111.886,
|
| 7 |
+
"train_steps_per_second": 0.874
|
| 8 |
}
|
trainer_state.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|