Model save
Browse files
README.md
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
- f1
|
11 |
+
- precision
|
12 |
+
- recall
|
13 |
+
model-index:
|
14 |
+
- name: vit-base-patch16-224-in21k-FINALLaneClassifier-VIT30epochsAUGMENTEDWITHTEST
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Image Classification
|
18 |
+
type: image-classification
|
19 |
+
dataset:
|
20 |
+
name: imagefolder
|
21 |
+
type: imagefolder
|
22 |
+
config: default
|
23 |
+
split: train
|
24 |
+
args: default
|
25 |
+
metrics:
|
26 |
+
- name: Accuracy
|
27 |
+
type: accuracy
|
28 |
+
value:
|
29 |
+
accuracy: 1.0
|
30 |
+
- name: F1
|
31 |
+
type: f1
|
32 |
+
value:
|
33 |
+
f1: 1.0
|
34 |
+
- name: Precision
|
35 |
+
type: precision
|
36 |
+
value:
|
37 |
+
precision: 1.0
|
38 |
+
- name: Recall
|
39 |
+
type: recall
|
40 |
+
value:
|
41 |
+
recall: 1.0
|
42 |
+
---
|
43 |
+
|
44 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
45 |
+
should probably proofread and complete it, then remove this comment. -->
|
46 |
+
|
47 |
+
# vit-base-patch16-224-in21k-FINALLaneClassifier-VIT30epochsAUGMENTEDWITHTEST
|
48 |
+
|
49 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
50 |
+
It achieves the following results on the evaluation set:
|
51 |
+
- Loss: 0.0000
|
52 |
+
- Accuracy: {'accuracy': 1.0}
|
53 |
+
- F1: {'f1': 1.0}
|
54 |
+
- Precision: {'precision': 1.0}
|
55 |
+
- Recall: {'recall': 1.0}
|
56 |
+
|
57 |
+
## Model description
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Intended uses & limitations
|
62 |
+
|
63 |
+
More information needed
|
64 |
+
|
65 |
+
## Training and evaluation data
|
66 |
+
|
67 |
+
More information needed
|
68 |
+
|
69 |
+
## Training procedure
|
70 |
+
|
71 |
+
### Training hyperparameters
|
72 |
+
|
73 |
+
The following hyperparameters were used during training:
|
74 |
+
- learning_rate: 5e-05
|
75 |
+
- train_batch_size: 32
|
76 |
+
- eval_batch_size: 32
|
77 |
+
- seed: 42
|
78 |
+
- gradient_accumulation_steps: 4
|
79 |
+
- total_train_batch_size: 128
|
80 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
81 |
+
- lr_scheduler_type: linear
|
82 |
+
- lr_scheduler_warmup_ratio: 0.1
|
83 |
+
- num_epochs: 30
|
84 |
+
|
85 |
+
### Training results
|
86 |
+
|
87 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
88 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------------------------------:|:--------------------------:|:---------------------------------:|:------------------------------:|
|
89 |
+
| 0.0229 | 0.9973 | 274 | 0.0166 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
90 |
+
| 0.0083 | 1.9982 | 549 | 0.0062 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
91 |
+
| 0.0055 | 2.9991 | 824 | 0.0032 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
92 |
+
| 0.0025 | 4.0 | 1099 | 0.0019 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
93 |
+
| 0.004 | 4.9973 | 1373 | 0.0013 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
94 |
+
| 0.001 | 5.9982 | 1648 | 0.0009 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
95 |
+
| 0.0032 | 6.9991 | 1923 | 0.0014 | {'accuracy': 0.9998862343572241} | {'f1': 0.9998861783406705} | {'precision': 0.9998887157801024} | {'recall': 0.9998836668217777} |
|
96 |
+
| 0.0011 | 8.0 | 2198 | 0.0005 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
97 |
+
| 0.0035 | 8.9973 | 2472 | 0.0004 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
98 |
+
| 0.0004 | 9.9982 | 2747 | 0.0003 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
99 |
+
| 0.0003 | 10.9991 | 3022 | 0.0003 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
100 |
+
| 0.0004 | 12.0 | 3297 | 0.0003 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
101 |
+
| 0.0002 | 12.9973 | 3571 | 0.0002 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
102 |
+
| 0.0005 | 13.9982 | 3846 | 0.0002 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
103 |
+
| 0.006 | 14.9991 | 4121 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
104 |
+
| 0.0001 | 16.0 | 4396 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
105 |
+
| 0.0001 | 16.9973 | 4670 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
106 |
+
| 0.0001 | 17.9982 | 4945 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
107 |
+
| 0.0004 | 18.9991 | 5220 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
108 |
+
| 0.0001 | 20.0 | 5495 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
109 |
+
| 0.0001 | 20.9973 | 5769 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
110 |
+
| 0.0012 | 21.9982 | 6044 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
111 |
+
| 0.0001 | 22.9991 | 6319 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
112 |
+
| 0.0001 | 24.0 | 6594 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
113 |
+
| 0.0001 | 24.9973 | 6868 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
114 |
+
| 0.0002 | 25.9982 | 7143 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
115 |
+
| 0.0001 | 26.9991 | 7418 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
116 |
+
| 0.0001 | 28.0 | 7693 | 0.0001 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
117 |
+
| 0.0001 | 28.9973 | 7967 | 0.0000 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
118 |
+
| 0.0001 | 29.9181 | 8220 | 0.0000 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
119 |
+
|
120 |
+
|
121 |
+
### Framework versions
|
122 |
+
|
123 |
+
- Transformers 4.43.3
|
124 |
+
- Pytorch 2.3.1
|
125 |
+
- Datasets 2.20.0
|
126 |
+
- Tokenizers 0.19.1
|