End of training
Browse files- README.md +65 -8
- all_results.json +14 -10
- config.json +1 -1
- eval_results.json +10 -6
- model.safetensors +3 -0
- preprocessor_config.json +14 -0
- runs/Apr12_00-47-26_DESKTOP-LAB4/events.out.tfevents.1712854123.DESKTOP-LAB4.11808.0 +3 -0
- runs/Apr12_00-47-26_DESKTOP-LAB4/events.out.tfevents.1712878084.DESKTOP-LAB4.11808.1 +3 -0
- runs/Mar19_01-17-00_DESKTOP-C8UAR7P/events.out.tfevents.1710782276.DESKTOP-C8UAR7P.14724.0 +3 -0
- runs/Mar19_01-17-00_DESKTOP-C8UAR7P/events.out.tfevents.1710786993.DESKTOP-C8UAR7P.14724.1 +3 -0
- runs/Mar29_23-12-46_DESKTOP-LAB4/events.out.tfevents.1711725183.DESKTOP-LAB4.9060.0 +3 -0
- runs/Mar29_23-12-46_DESKTOP-LAB4/events.out.tfevents.1711731362.DESKTOP-LAB4.9060.1 +3 -0
- train_results.json +5 -5
- trainer_state.json +0 -0
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,12 +1,40 @@
|
|
1 |
---
|
|
|
2 |
base_model: microsoft/swin-tiny-patch4-window7-224
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
datasets:
|
6 |
- imagefolder
|
|
|
|
|
|
|
|
|
|
|
7 |
model-index:
|
8 |
- name: FFPP-Raw_1FPS_faces-expand-0-aligned
|
9 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -15,6 +43,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
# FFPP-Raw_1FPS_faces-expand-0-aligned
|
16 |
|
17 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
## Model description
|
20 |
|
@@ -34,23 +69,45 @@ More information needed
|
|
34 |
|
35 |
The following hyperparameters were used during training:
|
36 |
- learning_rate: 5e-05
|
37 |
-
- train_batch_size:
|
38 |
-
- eval_batch_size:
|
39 |
- seed: 42
|
40 |
- gradient_accumulation_steps: 4
|
41 |
-
- total_train_batch_size:
|
42 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
- lr_scheduler_type: linear
|
44 |
- lr_scheduler_warmup_ratio: 0.1
|
45 |
-
- num_epochs:
|
46 |
|
47 |
### Training results
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
|
51 |
### Framework versions
|
52 |
|
53 |
-
- Transformers 4.
|
54 |
- Pytorch 2.2.2
|
55 |
-
- Datasets 2.
|
56 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
base_model: microsoft/swin-tiny-patch4-window7-224
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
- recall
|
11 |
+
- precision
|
12 |
+
- f1
|
13 |
model-index:
|
14 |
- name: FFPP-Raw_1FPS_faces-expand-0-aligned
|
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: test
|
24 |
+
args: default
|
25 |
+
metrics:
|
26 |
+
- name: Accuracy
|
27 |
+
type: accuracy
|
28 |
+
value: 0.99837772836593
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.993161411568177
|
32 |
+
- name: Precision
|
33 |
+
type: precision
|
34 |
+
value: 0.9993696485790828
|
35 |
+
- name: F1
|
36 |
+
type: f1
|
37 |
+
value: 0.9962558584033724
|
38 |
---
|
39 |
|
40 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
43 |
# FFPP-Raw_1FPS_faces-expand-0-aligned
|
44 |
|
45 |
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the imagefolder dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.0031
|
48 |
+
- Accuracy: 0.9984
|
49 |
+
- Recall: 0.9932
|
50 |
+
- Precision: 0.9994
|
51 |
+
- F1: 0.9963
|
52 |
+
- Roc Auc: 1.0000
|
53 |
|
54 |
## Model description
|
55 |
|
|
|
69 |
|
70 |
The following hyperparameters were used during training:
|
71 |
- learning_rate: 5e-05
|
72 |
+
- train_batch_size: 16
|
73 |
+
- eval_batch_size: 16
|
74 |
- seed: 42
|
75 |
- gradient_accumulation_steps: 4
|
76 |
+
- total_train_batch_size: 64
|
77 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
78 |
- lr_scheduler_type: linear
|
79 |
- lr_scheduler_warmup_ratio: 0.1
|
80 |
+
- num_epochs: 20
|
81 |
|
82 |
### Training results
|
83 |
|
84 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision | F1 | Roc Auc |
|
85 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|:-------:|
|
86 |
+
| 0.0983 | 1.0 | 1377 | 0.0679 | 0.9743 | 0.9700 | 0.9165 | 0.9425 | 0.9961 |
|
87 |
+
| 0.0917 | 2.0 | 2755 | 0.0342 | 0.9896 | 0.9718 | 0.9803 | 0.9760 | 0.9993 |
|
88 |
+
| 0.0291 | 3.0 | 4132 | 0.0161 | 0.9940 | 0.9908 | 0.9818 | 0.9863 | 0.9998 |
|
89 |
+
| 0.0454 | 4.0 | 5510 | 0.0136 | 0.9950 | 0.9851 | 0.9917 | 0.9884 | 0.9998 |
|
90 |
+
| 0.0302 | 5.0 | 6887 | 0.0075 | 0.9972 | 0.9896 | 0.9976 | 0.9936 | 1.0000 |
|
91 |
+
| 0.0073 | 6.0 | 8265 | 0.0064 | 0.9976 | 0.9931 | 0.9957 | 0.9944 | 1.0000 |
|
92 |
+
| 0.016 | 7.0 | 9642 | 0.0067 | 0.9975 | 0.9934 | 0.9949 | 0.9941 | 1.0000 |
|
93 |
+
| 0.0054 | 8.0 | 11020 | 0.0058 | 0.9978 | 0.9915 | 0.9984 | 0.9949 | 1.0000 |
|
94 |
+
| 0.0237 | 9.0 | 12397 | 0.0063 | 0.9975 | 0.9894 | 0.9993 | 0.9943 | 1.0000 |
|
95 |
+
| 0.0088 | 10.0 | 13775 | 0.0042 | 0.9982 | 0.9920 | 0.9995 | 0.9957 | 1.0000 |
|
96 |
+
| 0.0078 | 11.0 | 15152 | 0.0043 | 0.9982 | 0.9921 | 0.9994 | 0.9957 | 1.0000 |
|
97 |
+
| 0.0142 | 12.0 | 16530 | 0.0040 | 0.9982 | 0.9939 | 0.9979 | 0.9959 | 1.0000 |
|
98 |
+
| 0.0058 | 13.0 | 17907 | 0.0035 | 0.9983 | 0.9930 | 0.9992 | 0.9961 | 1.0000 |
|
99 |
+
| 0.0076 | 14.0 | 19285 | 0.0040 | 0.9981 | 0.9920 | 0.9994 | 0.9957 | 1.0000 |
|
100 |
+
| 0.0032 | 15.0 | 20662 | 0.0036 | 0.9983 | 0.9926 | 0.9995 | 0.9960 | 1.0000 |
|
101 |
+
| 0.0154 | 16.0 | 22040 | 0.0033 | 0.9983 | 0.9928 | 0.9996 | 0.9962 | 1.0000 |
|
102 |
+
| 0.0041 | 17.0 | 23417 | 0.0032 | 0.9984 | 0.9925 | 0.9999 | 0.9962 | 1.0000 |
|
103 |
+
| 0.002 | 18.0 | 24795 | 0.0032 | 0.9984 | 0.9933 | 0.9992 | 0.9962 | 1.0000 |
|
104 |
+
| 0.0024 | 19.0 | 26172 | 0.0031 | 0.9984 | 0.9932 | 0.9994 | 0.9963 | 1.0000 |
|
105 |
+
| 0.0023 | 19.99 | 27540 | 0.0031 | 0.9984 | 0.9927 | 0.9998 | 0.9963 | 1.0000 |
|
106 |
|
107 |
|
108 |
### Framework versions
|
109 |
|
110 |
+
- Transformers 4.39.2
|
111 |
- Pytorch 2.2.2
|
112 |
+
- Datasets 2.18.0
|
113 |
+
- Tokenizers 0.15.2
|
all_results.json
CHANGED
@@ -1,12 +1,16 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
|
|
|
|
|
|
|
|
12 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 19.99,
|
3 |
+
"eval_accuracy": 0.99837772836593,
|
4 |
+
"eval_f1": 0.9962558584033724,
|
5 |
+
"eval_loss": 0.0031478386372327805,
|
6 |
+
"eval_precision": 0.9993696485790828,
|
7 |
+
"eval_recall": 0.993161411568177,
|
8 |
+
"eval_roc_auc": 0.9999876608903375,
|
9 |
+
"eval_runtime": 388.229,
|
10 |
+
"eval_samples_per_second": 227.052,
|
11 |
+
"eval_steps_per_second": 14.193,
|
12 |
+
"train_loss": 0.029798476457713677,
|
13 |
+
"train_runtime": 23573.1101,
|
14 |
+
"train_samples_per_second": 74.787,
|
15 |
+
"train_steps_per_second": 1.168
|
16 |
}
|
config.json
CHANGED
@@ -55,7 +55,7 @@
|
|
55 |
"stage4"
|
56 |
],
|
57 |
"torch_dtype": "float32",
|
58 |
-
"transformers_version": "4.
|
59 |
"use_absolute_embeddings": false,
|
60 |
"window_size": 7
|
61 |
}
|
|
|
55 |
"stage4"
|
56 |
],
|
57 |
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.39.2",
|
59 |
"use_absolute_embeddings": false,
|
60 |
"window_size": 7
|
61 |
}
|
eval_results.json
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
|
|
|
|
|
|
|
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 19.99,
|
3 |
+
"eval_accuracy": 0.99837772836593,
|
4 |
+
"eval_f1": 0.9962558584033724,
|
5 |
+
"eval_loss": 0.0031478386372327805,
|
6 |
+
"eval_precision": 0.9993696485790828,
|
7 |
+
"eval_recall": 0.993161411568177,
|
8 |
+
"eval_roc_auc": 0.9999876608903375,
|
9 |
+
"eval_runtime": 388.229,
|
10 |
+
"eval_samples_per_second": 227.052,
|
11 |
+
"eval_steps_per_second": 14.193
|
12 |
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d9c389624405af5e2fb29dde4d5dd77db1f955e1a9a5772321b300920817f29
|
3 |
+
size 110342832
|
preprocessor_config.json
CHANGED
@@ -1,4 +1,18 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"do_normalize": true,
|
3 |
"do_rescale": true,
|
4 |
"do_resize": true,
|
|
|
1 |
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
"do_normalize": true,
|
17 |
"do_rescale": true,
|
18 |
"do_resize": true,
|
runs/Apr12_00-47-26_DESKTOP-LAB4/events.out.tfevents.1712854123.DESKTOP-LAB4.11808.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:788b5e4a5a20e80e5bc30b48f84ed3b5a1871f6b4a783362c1f92f76eca302e8
|
3 |
+
size 601398
|
runs/Apr12_00-47-26_DESKTOP-LAB4/events.out.tfevents.1712878084.DESKTOP-LAB4.11808.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b7ffec7fb82eec6a5e8e31048b7ca82cfbb93d1f1655b1c7dd2a7115dd07844
|
3 |
+
size 573
|
runs/Mar19_01-17-00_DESKTOP-C8UAR7P/events.out.tfevents.1710782276.DESKTOP-C8UAR7P.14724.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53d2ab5819fa853a9321402cbe23994dbd768d7f62b418a02ddbeaa3c89d57e0
|
3 |
+
size 39510
|
runs/Mar19_01-17-00_DESKTOP-C8UAR7P/events.out.tfevents.1710786993.DESKTOP-C8UAR7P.14724.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5870b12a4e4d21ad75cf63c9c6f706cd8e0007c58f49bea7fc548d6765756ef4
|
3 |
+
size 1332
|
runs/Mar29_23-12-46_DESKTOP-LAB4/events.out.tfevents.1711725183.DESKTOP-LAB4.9060.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd4e25e653dd335b8941348c52aabb1cecaed2f646e3765e8f32665126ebd294
|
3 |
+
size 37174
|
runs/Mar29_23-12-46_DESKTOP-LAB4/events.out.tfevents.1711731362.DESKTOP-LAB4.9060.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdc2bbddc091ba37c9393bf692d03c7fc3d7d3a95cecfac3d064c16f0fa62226
|
3 |
+
size 814
|
train_results.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"train_loss": 0.
|
4 |
-
"train_runtime":
|
5 |
-
"train_samples_per_second":
|
6 |
-
"train_steps_per_second":
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 19.99,
|
3 |
+
"train_loss": 0.029798476457713677,
|
4 |
+
"train_runtime": 23573.1101,
|
5 |
+
"train_samples_per_second": 74.787,
|
6 |
+
"train_steps_per_second": 1.168
|
7 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
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:22475f49125c140b96dd3eb454474fc2b886e5c99cc2a095b9fa09f6d384e03a
|
3 |
+
size 4984
|