End of training
Browse files
README.md
CHANGED
|
@@ -3,11 +3,26 @@ license: apache-2.0
|
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
|
|
|
|
|
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
model-index:
|
| 9 |
- name: image_classification
|
| 10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -15,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
# image_classification
|
| 17 |
|
| 18 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss:
|
| 21 |
-
- Accuracy: 0.
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
@@ -37,21 +52,28 @@ More information needed
|
|
| 37 |
### Training hyperparameters
|
| 38 |
|
| 39 |
The following hyperparameters were used during training:
|
| 40 |
-
- learning_rate:
|
| 41 |
- train_batch_size: 16
|
| 42 |
- eval_batch_size: 16
|
| 43 |
- seed: 42
|
| 44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
- lr_scheduler_type: linear
|
| 46 |
-
- num_epochs:
|
| 47 |
|
| 48 |
### Training results
|
| 49 |
|
| 50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
-
| No log | 1.0 |
|
| 53 |
-
| No log | 2.0 |
|
| 54 |
-
| No log | 3.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
|
| 57 |
### Framework versions
|
|
|
|
| 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.575
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 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.4622
|
| 36 |
+
- Accuracy: 0.575
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
|
|
| 52 |
### Training hyperparameters
|
| 53 |
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
+
- learning_rate: 1e-05
|
| 56 |
- train_batch_size: 16
|
| 57 |
- eval_batch_size: 16
|
| 58 |
- seed: 42
|
| 59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 60 |
- lr_scheduler_type: linear
|
| 61 |
+
- num_epochs: 10
|
| 62 |
|
| 63 |
### Training results
|
| 64 |
|
| 65 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 66 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 67 |
+
| No log | 1.0 | 40 | 1.5769 | 0.4625 |
|
| 68 |
+
| No log | 2.0 | 80 | 1.5299 | 0.525 |
|
| 69 |
+
| No log | 3.0 | 120 | 1.4961 | 0.55 |
|
| 70 |
+
| No log | 4.0 | 160 | 1.5013 | 0.5188 |
|
| 71 |
+
| No log | 5.0 | 200 | 1.4440 | 0.55 |
|
| 72 |
+
| No log | 6.0 | 240 | 1.4333 | 0.5687 |
|
| 73 |
+
| No log | 7.0 | 280 | 1.4314 | 0.5437 |
|
| 74 |
+
| No log | 8.0 | 320 | 1.4307 | 0.5437 |
|
| 75 |
+
| No log | 9.0 | 360 | 1.4264 | 0.5125 |
|
| 76 |
+
| No log | 10.0 | 400 | 1.4369 | 0.525 |
|
| 77 |
|
| 78 |
|
| 79 |
### Framework versions
|
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:97c4ce05805a6f7db78bde35bbdc512c0858fdde7f1e96f999ae2c3fb56d644c
|
| 3 |
size 343242432
|
runs/Feb16_14-57-11_85c8b67f1e1a/events.out.tfevents.1708095446.85c8b67f1e1a.1961.2
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:4a0392bd7a886c45d90812d7c4d45614b8c29f1c9f42f9963003b21382508ec9
|
| 3 |
+
size 8126
|
runs/Feb16_14-57-11_85c8b67f1e1a/events.out.tfevents.1708095828.85c8b67f1e1a.1961.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84de144a8b4fc5f163198af67b735578bfaf9ccf8e9e0464efd8ec017de1da06
|
| 3 |
+
size 411
|