End of training
Browse files
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: image_classification
|
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: 0.45
|
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 |
+
# image_classification
|
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: 1.6195
|
36 |
+
- Accuracy: 0.45
|
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: 3e-05
|
56 |
+
- train_batch_size: 64
|
57 |
+
- eval_batch_size: 64
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 14
|
62 |
+
- mixed_precision_training: Native AMP
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
+
| No log | 1.0 | 10 | 2.0386 | 0.25 |
|
69 |
+
| No log | 2.0 | 20 | 1.9873 | 0.3563 |
|
70 |
+
| No log | 3.0 | 30 | 1.9264 | 0.3875 |
|
71 |
+
| No log | 4.0 | 40 | 1.8662 | 0.4188 |
|
72 |
+
| No log | 5.0 | 50 | 1.8088 | 0.4188 |
|
73 |
+
| No log | 6.0 | 60 | 1.7597 | 0.4313 |
|
74 |
+
| No log | 7.0 | 70 | 1.7167 | 0.4188 |
|
75 |
+
| No log | 8.0 | 80 | 1.6899 | 0.4188 |
|
76 |
+
| No log | 9.0 | 90 | 1.6582 | 0.4437 |
|
77 |
+
| No log | 10.0 | 100 | 1.6435 | 0.4437 |
|
78 |
+
| No log | 11.0 | 110 | 1.6284 | 0.4313 |
|
79 |
+
| No log | 12.0 | 120 | 1.6195 | 0.45 |
|
80 |
+
| No log | 13.0 | 130 | 1.6141 | 0.45 |
|
81 |
+
| No log | 14.0 | 140 | 1.6119 | 0.4437 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.42.4
|
87 |
+
- Pytorch 2.3.1+cu121
|
88 |
+
- Datasets 2.20.0
|
89 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343242432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42314044b63766e9dede4d862be3260332905de6939e6779f6d0f941120c9874
|
3 |
size 343242432
|
runs/Jul20_07-59-47_db9e7b9f87a6/events.out.tfevents.1721462466.db9e7b9f87a6.1106.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:8d1d6f0a853d2448e8936af7e89f75068a5ac21a64f3401aff1ce2f0027d0c74
|
3 |
+
size 9892
|
runs/Jul20_07-59-47_db9e7b9f87a6/events.out.tfevents.1721464164.db9e7b9f87a6.1106.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f40f9ffbac5fc429bc58e0307ab5e568746ce5cf101ca3a93e18c3b4df755683
|
3 |
+
size 411
|