Model save
Browse files
README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
tags:
|
| 5 |
-
- image-classification
|
| 6 |
- generated_from_trainer
|
| 7 |
datasets:
|
| 8 |
- imagefolder
|
|
@@ -15,7 +14,7 @@ model-index:
|
|
| 15 |
name: Image Classification
|
| 16 |
type: image-classification
|
| 17 |
dataset:
|
| 18 |
-
name:
|
| 19 |
type: imagefolder
|
| 20 |
config: default
|
| 21 |
split: train
|
|
@@ -23,7 +22,7 @@ model-index:
|
|
| 23 |
metrics:
|
| 24 |
- name: Accuracy
|
| 25 |
type: accuracy
|
| 26 |
-
value: 0.
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -31,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 31 |
|
| 32 |
# Action_model
|
| 33 |
|
| 34 |
-
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
|
| 35 |
It achieves the following results on the evaluation set:
|
| 36 |
-
- Loss: 0.
|
| 37 |
-
- Accuracy: 0.
|
| 38 |
|
| 39 |
## Model description
|
| 40 |
|
|
@@ -59,19 +58,16 @@ The following hyperparameters were used during training:
|
|
| 59 |
- seed: 42
|
| 60 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 61 |
- lr_scheduler_type: linear
|
| 62 |
-
- num_epochs:
|
| 63 |
- mixed_precision_training: Native AMP
|
| 64 |
|
| 65 |
### Training results
|
| 66 |
|
| 67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 69 |
-
|
|
| 70 |
-
| 0.
|
| 71 |
-
| 0.
|
| 72 |
-
| 0.2812 | 1.27 | 400 | 0.7739 | 0.7676 |
|
| 73 |
-
| 0.251 | 1.59 | 500 | 0.7166 | 0.7857 |
|
| 74 |
-
| 0.2425 | 1.91 | 600 | 0.7692 | 0.7743 |
|
| 75 |
|
| 76 |
|
| 77 |
### Framework versions
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
tags:
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
- imagefolder
|
|
|
|
| 14 |
name: Image Classification
|
| 15 |
type: image-classification
|
| 16 |
dataset:
|
| 17 |
+
name: imagefolder
|
| 18 |
type: imagefolder
|
| 19 |
config: default
|
| 20 |
split: train
|
|
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
+
value: 0.8095238095238095
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 30 |
|
| 31 |
# Action_model
|
| 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.7479
|
| 36 |
+
- Accuracy: 0.8095
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
|
|
| 58 |
- seed: 42
|
| 59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 60 |
- lr_scheduler_type: linear
|
| 61 |
+
- num_epochs: 1
|
| 62 |
- mixed_precision_training: Native AMP
|
| 63 |
|
| 64 |
### Training results
|
| 65 |
|
| 66 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 67 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 68 |
+
| 1.1778 | 0.32 | 100 | 1.0651 | 0.78 |
|
| 69 |
+
| 0.8527 | 0.64 | 200 | 0.7874 | 0.8133 |
|
| 70 |
+
| 0.7114 | 0.96 | 300 | 0.7479 | 0.8095 |
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
|
| 73 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343248584
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:495d9650a1225c1a09df5da5257c925904dbe42b1d990d815beaa3303fb5a493
|
| 3 |
size 343248584
|
runs/Apr16_13-47-24_a962527840ae/events.out.tfevents.1713275300.a962527840ae.34.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08806eb1893d2b610ad0a65771c6efd09e437d909fcbb6cf289a808351c92613
|
| 3 |
+
size 10059
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4920
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aff72404cdfa2337f8499c3e9f3bea705172477c2a256987105d44755dddcae2
|
| 3 |
size 4920
|