Commit ·
c87f69f
1
Parent(s): c2ff58e
Model save
Browse files- README.md +35 -12
- pytorch_model.bin +1 -1
README.md
CHANGED
|
@@ -7,6 +7,8 @@ datasets:
|
|
| 7 |
- imagefolder
|
| 8 |
metrics:
|
| 9 |
- accuracy
|
|
|
|
|
|
|
| 10 |
model-index:
|
| 11 |
- name: pvt-tiny-224
|
| 12 |
results:
|
|
@@ -22,7 +24,13 @@ model-index:
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
-
value: 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -32,8 +40,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [Zetatech/pvt-tiny-224](https://huggingface.co/Zetatech/pvt-tiny-224) on the imagefolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
-
- Loss: 0.
|
| 36 |
-
- Accuracy: 0.
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
@@ -53,23 +64,35 @@ More information needed
|
|
| 53 |
|
| 54 |
The following hyperparameters were used during training:
|
| 55 |
- learning_rate: 5e-05
|
| 56 |
-
- train_batch_size:
|
| 57 |
-
- eval_batch_size:
|
| 58 |
- seed: 42
|
| 59 |
- gradient_accumulation_steps: 4
|
| 60 |
-
- total_train_batch_size:
|
| 61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
- lr_scheduler_type: linear
|
| 63 |
- lr_scheduler_warmup_ratio: 0.1
|
| 64 |
-
- num_epochs:
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
-
| No log | 1.0 |
|
| 71 |
-
|
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
|
| 75 |
### Framework versions
|
|
|
|
| 7 |
- imagefolder
|
| 8 |
metrics:
|
| 9 |
- accuracy
|
| 10 |
+
- precision
|
| 11 |
+
- recall
|
| 12 |
model-index:
|
| 13 |
- name: pvt-tiny-224
|
| 14 |
results:
|
|
|
|
| 24 |
metrics:
|
| 25 |
- name: Accuracy
|
| 26 |
type: accuracy
|
| 27 |
+
value: 0.7866666666666666
|
| 28 |
+
- name: Precision
|
| 29 |
+
type: precision
|
| 30 |
+
value: 0.7722088353413654
|
| 31 |
+
- name: Recall
|
| 32 |
+
type: recall
|
| 33 |
+
value: 0.7866666666666666
|
| 34 |
---
|
| 35 |
|
| 36 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 40 |
|
| 41 |
This model is a fine-tuned version of [Zetatech/pvt-tiny-224](https://huggingface.co/Zetatech/pvt-tiny-224) on the imagefolder dataset.
|
| 42 |
It achieves the following results on the evaluation set:
|
| 43 |
+
- Loss: 0.5175
|
| 44 |
+
- Accuracy: 0.7867
|
| 45 |
+
- Precision: 0.7722
|
| 46 |
+
- Recall: 0.7867
|
| 47 |
+
- F1 Score: 0.7693
|
| 48 |
|
| 49 |
## Model description
|
| 50 |
|
|
|
|
| 64 |
|
| 65 |
The following hyperparameters were used during training:
|
| 66 |
- learning_rate: 5e-05
|
| 67 |
+
- train_batch_size: 64
|
| 68 |
+
- eval_batch_size: 64
|
| 69 |
- seed: 42
|
| 70 |
- gradient_accumulation_steps: 4
|
| 71 |
+
- total_train_batch_size: 256
|
| 72 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 73 |
- lr_scheduler_type: linear
|
| 74 |
- lr_scheduler_warmup_ratio: 0.1
|
| 75 |
+
- num_epochs: 15
|
| 76 |
|
| 77 |
### Training results
|
| 78 |
|
| 79 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score |
|
| 80 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|
|
| 81 |
+
| No log | 1.0 | 4 | 0.5604 | 0.7375 | 0.8067 | 0.7375 | 0.6302 |
|
| 82 |
+
| No log | 2.0 | 8 | 0.5613 | 0.7583 | 0.7327 | 0.7583 | 0.7253 |
|
| 83 |
+
| No log | 3.0 | 12 | 0.5514 | 0.7417 | 0.7093 | 0.7417 | 0.7094 |
|
| 84 |
+
| 0.5422 | 4.0 | 16 | 0.5402 | 0.7583 | 0.7681 | 0.7583 | 0.6862 |
|
| 85 |
+
| 0.5422 | 5.0 | 20 | 0.5306 | 0.7583 | 0.7404 | 0.7583 | 0.7444 |
|
| 86 |
+
| 0.5422 | 6.0 | 24 | 0.5310 | 0.7708 | 0.7597 | 0.7708 | 0.7253 |
|
| 87 |
+
| 0.5422 | 7.0 | 28 | 0.5301 | 0.7708 | 0.7522 | 0.7708 | 0.7528 |
|
| 88 |
+
| 0.3772 | 8.0 | 32 | 0.5338 | 0.7833 | 0.7677 | 0.7833 | 0.7672 |
|
| 89 |
+
| 0.3772 | 9.0 | 36 | 0.5362 | 0.7833 | 0.7677 | 0.7833 | 0.7672 |
|
| 90 |
+
| 0.3772 | 10.0 | 40 | 0.5379 | 0.775 | 0.7577 | 0.775 | 0.7583 |
|
| 91 |
+
| 0.3772 | 11.0 | 44 | 0.5541 | 0.7833 | 0.7672 | 0.7833 | 0.7632 |
|
| 92 |
+
| 0.224 | 12.0 | 48 | 0.5600 | 0.7708 | 0.7542 | 0.7708 | 0.7567 |
|
| 93 |
+
| 0.224 | 13.0 | 52 | 0.5661 | 0.7667 | 0.7487 | 0.7667 | 0.7513 |
|
| 94 |
+
| 0.224 | 14.0 | 56 | 0.5698 | 0.7792 | 0.7630 | 0.7792 | 0.7637 |
|
| 95 |
+
| 0.1283 | 15.0 | 60 | 0.5752 | 0.7792 | 0.7630 | 0.7792 | 0.7637 |
|
| 96 |
|
| 97 |
|
| 98 |
### Framework versions
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 50929233
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24df49da57fad52e2bb03988ba7f1586ac2723bb60933fde632db779a9ddc89b
|
| 3 |
size 50929233
|