Commit
•
bcdb08c
1
Parent(s):
0de1290
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
model-index:
|
11 |
+
- name: vit-gabor-detection-v2
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 1.0
|
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 |
+
# vit-gabor-detection-v2
|
32 |
+
|
33 |
+
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.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0185
|
36 |
+
- Accuracy: 1.0
|
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: 2e-05
|
56 |
+
- train_batch_size: 200
|
57 |
+
- eval_batch_size: 200
|
58 |
+
- seed: 1337
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 120.0
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| No log | 1.0 | 1 | 0.5751 | 1.0 |
|
68 |
+
| No log | 2.0 | 2 | 0.5081 | 1.0 |
|
69 |
+
| No log | 3.0 | 3 | 0.4654 | 1.0 |
|
70 |
+
| No log | 4.0 | 4 | 0.4014 | 1.0 |
|
71 |
+
| No log | 5.0 | 5 | 0.3692 | 1.0 |
|
72 |
+
| No log | 6.0 | 6 | 0.3327 | 1.0 |
|
73 |
+
| No log | 7.0 | 7 | 0.2937 | 1.0 |
|
74 |
+
| No log | 8.0 | 8 | 0.2775 | 1.0 |
|
75 |
+
| No log | 9.0 | 9 | 0.2335 | 1.0 |
|
76 |
+
| 0.4432 | 10.0 | 10 | 0.2092 | 1.0 |
|
77 |
+
| 0.4432 | 11.0 | 11 | 0.2007 | 1.0 |
|
78 |
+
| 0.4432 | 12.0 | 12 | 0.1674 | 1.0 |
|
79 |
+
| 0.4432 | 13.0 | 13 | 0.1546 | 1.0 |
|
80 |
+
| 0.4432 | 14.0 | 14 | 0.1393 | 1.0 |
|
81 |
+
| 0.4432 | 15.0 | 15 | 0.1297 | 1.0 |
|
82 |
+
| 0.4432 | 16.0 | 16 | 0.1219 | 1.0 |
|
83 |
+
| 0.4432 | 17.0 | 17 | 0.1090 | 1.0 |
|
84 |
+
| 0.4432 | 18.0 | 18 | 0.1012 | 1.0 |
|
85 |
+
| 0.4432 | 19.0 | 19 | 0.0981 | 1.0 |
|
86 |
+
| 0.1696 | 20.0 | 20 | 0.0874 | 1.0 |
|
87 |
+
| 0.1696 | 21.0 | 21 | 0.0812 | 1.0 |
|
88 |
+
| 0.1696 | 22.0 | 22 | 0.0750 | 1.0 |
|
89 |
+
| 0.1696 | 23.0 | 23 | 0.0754 | 1.0 |
|
90 |
+
| 0.1696 | 24.0 | 24 | 0.0693 | 1.0 |
|
91 |
+
| 0.1696 | 25.0 | 25 | 0.0642 | 1.0 |
|
92 |
+
| 0.1696 | 26.0 | 26 | 0.0610 | 1.0 |
|
93 |
+
| 0.1696 | 27.0 | 27 | 0.0586 | 1.0 |
|
94 |
+
| 0.1696 | 28.0 | 28 | 0.0569 | 1.0 |
|
95 |
+
| 0.1696 | 29.0 | 29 | 0.0532 | 1.0 |
|
96 |
+
| 0.0792 | 30.0 | 30 | 0.0506 | 1.0 |
|
97 |
+
| 0.0792 | 31.0 | 31 | 0.0495 | 1.0 |
|
98 |
+
| 0.0792 | 32.0 | 32 | 0.0476 | 1.0 |
|
99 |
+
| 0.0792 | 33.0 | 33 | 0.0457 | 1.0 |
|
100 |
+
| 0.0792 | 34.0 | 34 | 0.0442 | 1.0 |
|
101 |
+
| 0.0792 | 35.0 | 35 | 0.0419 | 1.0 |
|
102 |
+
| 0.0792 | 36.0 | 36 | 0.0404 | 1.0 |
|
103 |
+
| 0.0792 | 37.0 | 37 | 0.0396 | 1.0 |
|
104 |
+
| 0.0792 | 38.0 | 38 | 0.0384 | 1.0 |
|
105 |
+
| 0.0792 | 39.0 | 39 | 0.0377 | 1.0 |
|
106 |
+
| 0.049 | 40.0 | 40 | 0.0366 | 1.0 |
|
107 |
+
| 0.049 | 41.0 | 41 | 0.0370 | 1.0 |
|
108 |
+
| 0.049 | 42.0 | 42 | 0.0339 | 1.0 |
|
109 |
+
| 0.049 | 43.0 | 43 | 0.0330 | 1.0 |
|
110 |
+
| 0.049 | 44.0 | 44 | 0.0344 | 1.0 |
|
111 |
+
| 0.049 | 45.0 | 45 | 0.0324 | 1.0 |
|
112 |
+
| 0.049 | 46.0 | 46 | 0.0323 | 1.0 |
|
113 |
+
| 0.049 | 47.0 | 47 | 0.0311 | 1.0 |
|
114 |
+
| 0.049 | 48.0 | 48 | 0.0308 | 1.0 |
|
115 |
+
| 0.049 | 49.0 | 49 | 0.0294 | 1.0 |
|
116 |
+
| 0.0359 | 50.0 | 50 | 0.0297 | 1.0 |
|
117 |
+
| 0.0359 | 51.0 | 51 | 0.0289 | 1.0 |
|
118 |
+
| 0.0359 | 52.0 | 52 | 0.0285 | 1.0 |
|
119 |
+
| 0.0359 | 53.0 | 53 | 0.0280 | 1.0 |
|
120 |
+
| 0.0359 | 54.0 | 54 | 0.0270 | 1.0 |
|
121 |
+
| 0.0359 | 55.0 | 55 | 0.0265 | 1.0 |
|
122 |
+
| 0.0359 | 56.0 | 56 | 0.0266 | 1.0 |
|
123 |
+
| 0.0359 | 57.0 | 57 | 0.0261 | 1.0 |
|
124 |
+
| 0.0359 | 58.0 | 58 | 0.0268 | 1.0 |
|
125 |
+
| 0.0359 | 59.0 | 59 | 0.0255 | 1.0 |
|
126 |
+
| 0.0293 | 60.0 | 60 | 0.0255 | 1.0 |
|
127 |
+
| 0.0293 | 61.0 | 61 | 0.0246 | 1.0 |
|
128 |
+
| 0.0293 | 62.0 | 62 | 0.0256 | 1.0 |
|
129 |
+
| 0.0293 | 63.0 | 63 | 0.0247 | 1.0 |
|
130 |
+
| 0.0293 | 64.0 | 64 | 0.0241 | 1.0 |
|
131 |
+
| 0.0293 | 65.0 | 65 | 0.0241 | 1.0 |
|
132 |
+
| 0.0293 | 66.0 | 66 | 0.0234 | 1.0 |
|
133 |
+
| 0.0293 | 67.0 | 67 | 0.0236 | 1.0 |
|
134 |
+
| 0.0293 | 68.0 | 68 | 0.0228 | 1.0 |
|
135 |
+
| 0.0293 | 69.0 | 69 | 0.0233 | 1.0 |
|
136 |
+
| 0.0256 | 70.0 | 70 | 0.0227 | 1.0 |
|
137 |
+
| 0.0256 | 71.0 | 71 | 0.0227 | 1.0 |
|
138 |
+
| 0.0256 | 72.0 | 72 | 0.0230 | 1.0 |
|
139 |
+
| 0.0256 | 73.0 | 73 | 0.0222 | 1.0 |
|
140 |
+
| 0.0256 | 74.0 | 74 | 0.0220 | 1.0 |
|
141 |
+
| 0.0256 | 75.0 | 75 | 0.0221 | 1.0 |
|
142 |
+
| 0.0256 | 76.0 | 76 | 0.0219 | 1.0 |
|
143 |
+
| 0.0256 | 77.0 | 77 | 0.0215 | 1.0 |
|
144 |
+
| 0.0256 | 78.0 | 78 | 0.0210 | 1.0 |
|
145 |
+
| 0.0256 | 79.0 | 79 | 0.0209 | 1.0 |
|
146 |
+
| 0.0234 | 80.0 | 80 | 0.0212 | 1.0 |
|
147 |
+
| 0.0234 | 81.0 | 81 | 0.0212 | 1.0 |
|
148 |
+
| 0.0234 | 82.0 | 82 | 0.0206 | 1.0 |
|
149 |
+
| 0.0234 | 83.0 | 83 | 0.0210 | 1.0 |
|
150 |
+
| 0.0234 | 84.0 | 84 | 0.0204 | 1.0 |
|
151 |
+
| 0.0234 | 85.0 | 85 | 0.0205 | 1.0 |
|
152 |
+
| 0.0234 | 86.0 | 86 | 0.0204 | 1.0 |
|
153 |
+
| 0.0234 | 87.0 | 87 | 0.0203 | 1.0 |
|
154 |
+
| 0.0234 | 88.0 | 88 | 0.0200 | 1.0 |
|
155 |
+
| 0.0234 | 89.0 | 89 | 0.0203 | 1.0 |
|
156 |
+
| 0.0218 | 90.0 | 90 | 0.0196 | 1.0 |
|
157 |
+
| 0.0218 | 91.0 | 91 | 0.0199 | 1.0 |
|
158 |
+
| 0.0218 | 92.0 | 92 | 0.0198 | 1.0 |
|
159 |
+
| 0.0218 | 93.0 | 93 | 0.0196 | 1.0 |
|
160 |
+
| 0.0218 | 94.0 | 94 | 0.0195 | 1.0 |
|
161 |
+
| 0.0218 | 95.0 | 95 | 0.0198 | 1.0 |
|
162 |
+
| 0.0218 | 96.0 | 96 | 0.0197 | 1.0 |
|
163 |
+
| 0.0218 | 97.0 | 97 | 0.0193 | 1.0 |
|
164 |
+
| 0.0218 | 98.0 | 98 | 0.0195 | 1.0 |
|
165 |
+
| 0.0218 | 99.0 | 99 | 0.0194 | 1.0 |
|
166 |
+
| 0.0208 | 100.0 | 100 | 0.0192 | 1.0 |
|
167 |
+
| 0.0208 | 101.0 | 101 | 0.0190 | 1.0 |
|
168 |
+
| 0.0208 | 102.0 | 102 | 0.0188 | 1.0 |
|
169 |
+
| 0.0208 | 103.0 | 103 | 0.0191 | 1.0 |
|
170 |
+
| 0.0208 | 104.0 | 104 | 0.0193 | 1.0 |
|
171 |
+
| 0.0208 | 105.0 | 105 | 0.0193 | 1.0 |
|
172 |
+
| 0.0208 | 106.0 | 106 | 0.0190 | 1.0 |
|
173 |
+
| 0.0208 | 107.0 | 107 | 0.0191 | 1.0 |
|
174 |
+
| 0.0208 | 108.0 | 108 | 0.0186 | 1.0 |
|
175 |
+
| 0.0208 | 109.0 | 109 | 0.0188 | 1.0 |
|
176 |
+
| 0.0202 | 110.0 | 110 | 0.0187 | 1.0 |
|
177 |
+
| 0.0202 | 111.0 | 111 | 0.0191 | 1.0 |
|
178 |
+
| 0.0202 | 112.0 | 112 | 0.0188 | 1.0 |
|
179 |
+
| 0.0202 | 113.0 | 113 | 0.0185 | 1.0 |
|
180 |
+
| 0.0202 | 114.0 | 114 | 0.0188 | 1.0 |
|
181 |
+
| 0.0202 | 115.0 | 115 | 0.0183 | 1.0 |
|
182 |
+
| 0.0202 | 116.0 | 116 | 0.0187 | 1.0 |
|
183 |
+
| 0.0202 | 117.0 | 117 | 0.0185 | 1.0 |
|
184 |
+
| 0.0202 | 118.0 | 118 | 0.0184 | 1.0 |
|
185 |
+
| 0.0202 | 119.0 | 119 | 0.0188 | 1.0 |
|
186 |
+
| 0.0197 | 120.0 | 120 | 0.0185 | 1.0 |
|
187 |
+
|
188 |
+
|
189 |
+
### Framework versions
|
190 |
+
|
191 |
+
- Transformers 4.37.0.dev0
|
192 |
+
- Pytorch 2.1.0+cu121
|
193 |
+
- Datasets 2.15.0
|
194 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343223968
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20762a7ea8a9705ba276cc92c93c3526f4ce9d4d02bc0639a7a8feeb5399ccc7
|
3 |
size 343223968
|
runs/Dec19_00-25-43_b6c43624a1ee/events.out.tfevents.1702945548.b6c43624a1ee.6546.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a3fb3680c5fde19ecf540d16bca7816425d93c0913118c2444d28e8de2df023
|
3 |
+
size 44864
|