ayoubkirouane
commited on
Commit
•
96db011
1
Parent(s):
a773c0b
Update README.md
Browse files
README.md
CHANGED
@@ -25,40 +25,25 @@ model-index:
|
|
25 |
value: 1.0
|
26 |
---
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
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: 0.0002
|
56 |
-
- train_batch_size: 16
|
57 |
-
- eval_batch_size: 8
|
58 |
-
- seed: 42
|
59 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
-
- lr_scheduler_type: linear
|
61 |
-
- num_epochs: 4
|
62 |
|
63 |
### Training results
|
64 |
|
@@ -67,10 +52,10 @@ The following hyperparameters were used during training:
|
|
67 |
| 0.1495 | 1.54 | 100 | 0.0910 | 0.9774 |
|
68 |
| 0.0121 | 3.08 | 200 | 0.0155 | 1.0 |
|
69 |
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
-
### Framework versions
|
72 |
|
73 |
-
- Transformers 4.33.2
|
74 |
-
- Pytorch 2.0.1+cu118
|
75 |
-
- Datasets 2.14.5
|
76 |
-
- Tokenizers 0.13.3
|
|
|
25 |
value: 1.0
|
26 |
---
|
27 |
|
28 |
+
# Fine-Tuned ViT for Beans Leaf Disease Classification
|
29 |
+
|
30 |
+
## Model Information
|
31 |
+
* **Model Name**: Fine-Tuned ViT (Vision Transformer)
|
32 |
+
* **Base Model**: Google/ViT-base-patch16-224-in21k
|
33 |
+
* **Task**: Image Classification (Beans Leaf Disease Classification)
|
34 |
+
* **Dataset**: Beans leaf dataset with images of diseased and healthy leaves.
|
35 |
+
|
36 |
+
## Problem Statement
|
37 |
+
The goal of this model is to classify leaf images into three categories:
|
38 |
+
```
|
39 |
+
{
|
40 |
+
"angular_leaf_spot": 0,
|
41 |
+
"bean_rust": 1,
|
42 |
+
"healthy": 2,
|
43 |
+
}
|
44 |
+
```
|
45 |
+
|
46 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6338c06c107c4835a05699f9/3qwVfVNQSt0KHe8t_OCrT.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
### Training results
|
49 |
|
|
|
52 |
| 0.1495 | 1.54 | 100 | 0.0910 | 0.9774 |
|
53 |
| 0.0121 | 3.08 | 200 | 0.0155 | 1.0 |
|
54 |
|
55 |
+
## Framework versions
|
56 |
+
+ Transformers 4.33.2
|
57 |
+
+ Pytorch 2.0.1+cu118
|
58 |
+
+ Datasets 2.14.5
|
59 |
+
+ Tokenizers 0.13.3
|
60 |
|
|
|
61 |
|
|
|
|
|
|
|
|