End of training
Browse files- README.md +97 -0
- emissions.csv +2 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- beans
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: plant_disease_detection-beans
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: beans
|
18 |
+
type: beans
|
19 |
+
config: default
|
20 |
+
split: validation
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.9849624060150376
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# plant_disease_detection-beans
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the beans dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0711
|
36 |
+
- Accuracy: 0.9850
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 64
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_ratio: 0.2
|
64 |
+
- num_epochs: 20
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| 1.0983 | 0.98 | 16 | 0.8079 | 0.7143 |
|
71 |
+
| 0.5524 | 1.97 | 32 | 0.2697 | 0.9624 |
|
72 |
+
| 0.2699 | 2.95 | 48 | 0.0926 | 0.9549 |
|
73 |
+
| 0.0991 | 4.0 | 65 | 0.0551 | 0.9774 |
|
74 |
+
| 0.0722 | 4.98 | 81 | 0.0435 | 0.9925 |
|
75 |
+
| 0.0584 | 5.97 | 97 | 0.0328 | 0.9850 |
|
76 |
+
| 0.0451 | 6.95 | 113 | 0.0478 | 0.9774 |
|
77 |
+
| 0.0321 | 8.0 | 130 | 0.0532 | 0.9925 |
|
78 |
+
| 0.0298 | 8.98 | 146 | 0.0802 | 0.9774 |
|
79 |
+
| 0.0516 | 9.97 | 162 | 0.0391 | 0.9774 |
|
80 |
+
| 0.0396 | 10.95 | 178 | 0.0720 | 0.9774 |
|
81 |
+
| 0.0358 | 12.0 | 195 | 0.0540 | 0.9850 |
|
82 |
+
| 0.027 | 12.98 | 211 | 0.0467 | 0.9774 |
|
83 |
+
| 0.0236 | 13.97 | 227 | 0.0184 | 0.9925 |
|
84 |
+
| 0.0272 | 14.95 | 243 | 0.0255 | 0.9925 |
|
85 |
+
| 0.0182 | 16.0 | 260 | 0.0354 | 0.9850 |
|
86 |
+
| 0.0504 | 16.98 | 276 | 0.0039 | 1.0 |
|
87 |
+
| 0.0283 | 17.97 | 292 | 0.0199 | 1.0 |
|
88 |
+
| 0.0241 | 18.95 | 308 | 0.0250 | 0.9925 |
|
89 |
+
| 0.0268 | 19.69 | 320 | 0.0711 | 0.9850 |
|
90 |
+
|
91 |
+
|
92 |
+
### Framework versions
|
93 |
+
|
94 |
+
- Transformers 4.36.0.dev0
|
95 |
+
- Pytorch 2.0.1+cu117
|
96 |
+
- Datasets 2.14.5
|
97 |
+
- Tokenizers 0.15.0
|
emissions.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
timestamp,experiment_id,project_name,duration,emissions,energy_consumed,country_name,country_iso_code,region,on_cloud,cloud_provider,cloud_region
|
2 |
+
2023-11-27T22:11:32,7be18f8f-ae1c-4ac1-8e0a-baed46276d01,codecarbon,518.3895659446716,0.016147145023792043,0.01936576052657482,India,IND,west bengal,N,,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343227052
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9ee7e4c0b79306e09d704971292925c92bf1aa2eee3aa3ea24e4ac225b53970
|
3 |
size 343227052
|