Model save
Browse files
README.md
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-laneclassifierasphaltconcrete-detectorVITmain50epochs
|
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-laneclassifierasphaltconcrete-detectorVITmain50epochs
|
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.0004
|
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: 4
|
76 |
+
- eval_batch_size: 4
|
77 |
+
- seed: 42
|
78 |
+
- gradient_accumulation_steps: 4
|
79 |
+
- total_train_batch_size: 16
|
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: 8
|
84 |
+
|
85 |
+
### Training results
|
86 |
+
|
87 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
88 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------------------------:|:--------------------------:|:---------------------------------:|:------------------------------:|
|
89 |
+
| 0.0576 | 0.9933 | 111 | 0.0139 | {'accuracy': 0.9977628635346756} | {'f1': 0.9966709613995368} | {'precision': 0.9985795454545454} | {'recall': 0.9947916666666667} |
|
90 |
+
| 0.0365 | 1.9955 | 223 | 0.0012 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
91 |
+
| 0.0009 | 2.9978 | 335 | 0.0008 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
92 |
+
| 0.0007 | 4.0 | 447 | 0.0007 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
93 |
+
| 0.0006 | 4.9933 | 558 | 0.0005 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
94 |
+
| 0.0005 | 5.9955 | 670 | 0.0005 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
95 |
+
| 0.0005 | 6.9978 | 782 | 0.0004 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
96 |
+
| 0.0005 | 7.9463 | 888 | 0.0004 | {'accuracy': 1.0} | {'f1': 1.0} | {'precision': 1.0} | {'recall': 1.0} |
|
97 |
+
|
98 |
+
|
99 |
+
### Framework versions
|
100 |
+
|
101 |
+
- Transformers 4.43.3
|
102 |
+
- Pytorch 2.3.1
|
103 |
+
- Datasets 2.20.0
|
104 |
+
- Tokenizers 0.19.1
|
runs/Sep10_13-40-16_CARL-Mechanical-PC/events.out.tfevents.1725946826.CARL-Mechanical-PC.14572.1
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:a7a5fdb9cf29e479e02446a98eddc48f5fdf26ec9b6dd38dcb4687957e8ea160
|
3 |
+
size 26243
|