Model save
Browse files- README.md +98 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: other
|
4 |
+
base_model: google/mobilenet_v2_1.0_224
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- imagefolder
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: mobilenet_v2_1.0_224-finetuned-plantdisease
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Image Classification
|
16 |
+
type: image-classification
|
17 |
+
dataset:
|
18 |
+
name: imagefolder
|
19 |
+
type: imagefolder
|
20 |
+
config: default
|
21 |
+
split: train
|
22 |
+
args: default
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.9447674418604651
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# mobilenet_v2_1.0_224-finetuned-plantdisease
|
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.1663
|
37 |
+
- Accuracy: 0.9448
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 5e-05
|
57 |
+
- train_batch_size: 32
|
58 |
+
- eval_batch_size: 32
|
59 |
+
- seed: 42
|
60 |
+
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 128
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_ratio: 0.1
|
65 |
+
- num_epochs: 20
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
71 |
+
| 1.7982 | 0.9983 | 145 | 1.9825 | 0.4036 |
|
72 |
+
| 0.6137 | 1.9966 | 290 | 1.1130 | 0.6415 |
|
73 |
+
| 0.4176 | 2.9948 | 435 | 0.4887 | 0.8469 |
|
74 |
+
| 0.3107 | 4.0 | 581 | 0.3414 | 0.8944 |
|
75 |
+
| 0.2255 | 4.9983 | 726 | 0.2732 | 0.9123 |
|
76 |
+
| 0.1833 | 5.9966 | 871 | 0.7462 | 0.7582 |
|
77 |
+
| 0.2062 | 6.9948 | 1016 | 0.3771 | 0.8803 |
|
78 |
+
| 0.1657 | 8.0 | 1162 | 0.4718 | 0.8542 |
|
79 |
+
| 0.1427 | 8.9983 | 1307 | 0.4902 | 0.8474 |
|
80 |
+
| 0.1598 | 9.9966 | 1452 | 0.2229 | 0.9273 |
|
81 |
+
| 0.1504 | 10.9948 | 1597 | 0.3021 | 0.8973 |
|
82 |
+
| 0.1456 | 12.0 | 1743 | 0.2422 | 0.9225 |
|
83 |
+
| 0.119 | 12.9983 | 1888 | 0.2836 | 0.9021 |
|
84 |
+
| 0.114 | 13.9966 | 2033 | 0.2038 | 0.9293 |
|
85 |
+
| 0.1378 | 14.9948 | 2178 | 0.2173 | 0.9239 |
|
86 |
+
| 0.1249 | 16.0 | 2324 | 0.2467 | 0.9186 |
|
87 |
+
| 0.1504 | 16.9983 | 2469 | 0.2322 | 0.9254 |
|
88 |
+
| 0.0972 | 17.9966 | 2614 | 0.0841 | 0.9782 |
|
89 |
+
| 0.1293 | 18.9948 | 2759 | 0.1512 | 0.9467 |
|
90 |
+
| 0.1072 | 19.9656 | 2900 | 0.1663 | 0.9448 |
|
91 |
+
|
92 |
+
|
93 |
+
### Framework versions
|
94 |
+
|
95 |
+
- Transformers 4.44.2
|
96 |
+
- Pytorch 2.5.0+cu121
|
97 |
+
- Datasets 3.1.0
|
98 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 9146828
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59208307a6e9085724b20f8cb730a2218453d47bdceb870b7355e4eb7914882a
|
3 |
size 9146828
|