Augusto777
commited on
Commit
•
ac87fae
1
Parent(s):
82309f0
End of training
Browse files- README.md +108 -107
- all_results.json +12 -11
- config.json +71 -58
- eval_results.json +7 -7
- model.safetensors +1 -1
- preprocessor_config.json +22 -22
- runs/Oct13_15-01-08_9b69f8f7fe92/events.out.tfevents.1728831686.9b69f8f7fe92.1642.0 +3 -0
- runs/Oct13_15-01-08_9b69f8f7fe92/events.out.tfevents.1728832673.9b69f8f7fe92.1642.1 +3 -0
- train_results.json +7 -6
- trainer_state.json +368 -348
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,107 +1,108 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
-
|
57 |
-
-
|
58 |
-
-
|
59 |
-
-
|
60 |
-
-
|
61 |
-
-
|
62 |
-
-
|
63 |
-
-
|
64 |
-
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
| No log |
|
72 |
-
| No log |
|
73 |
-
|
|
74 |
-
|
|
75 |
-
|
|
76 |
-
|
|
77 |
-
|
|
78 |
-
|
|
79 |
-
|
|
80 |
-
|
|
81 |
-
|
|
82 |
-
|
|
83 |
-
|
|
84 |
-
|
|
85 |
-
|
|
86 |
-
|
|
87 |
-
|
|
88 |
-
|
|
89 |
-
|
|
90 |
-
|
|
91 |
-
|
|
92 |
-
|
|
93 |
-
|
|
94 |
-
|
|
95 |
-
|
|
96 |
-
|
|
97 |
-
|
|
98 |
-
|
|
99 |
-
|
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
-
|
106 |
-
-
|
107 |
-
-
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: microsoft/swinv2-tiny-patch4-window8-256
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- imagefolder
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: swinv2-tiny-patch4-window8-256-Ocular-Toxoplasmosis
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Image Classification
|
16 |
+
type: image-classification
|
17 |
+
dataset:
|
18 |
+
name: imagefolder
|
19 |
+
type: imagefolder
|
20 |
+
config: default
|
21 |
+
split: validation
|
22 |
+
args: default
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.8387096774193549
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# swinv2-tiny-patch4-window8-256-Ocular-Toxoplasmosis
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [microsoft/swinv2-tiny-patch4-window8-256](https://huggingface.co/microsoft/swinv2-tiny-patch4-window8-256) on the imagefolder dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.5167
|
37 |
+
- Accuracy: 0.8387
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 5e-05
|
57 |
+
- train_batch_size: 32
|
58 |
+
- eval_batch_size: 32
|
59 |
+
- seed: 42
|
60 |
+
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 128
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_ratio: 0.1
|
65 |
+
- num_epochs: 40
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
71 |
+
| No log | 0.7273 | 2 | 1.4057 | 0.2419 |
|
72 |
+
| No log | 1.8182 | 5 | 1.2100 | 0.4677 |
|
73 |
+
| No log | 2.9091 | 8 | 1.1808 | 0.4516 |
|
74 |
+
| 1.3062 | 4.0 | 11 | 1.0975 | 0.5968 |
|
75 |
+
| 1.3062 | 4.7273 | 13 | 1.0542 | 0.6613 |
|
76 |
+
| 1.3062 | 5.8182 | 16 | 0.9857 | 0.6613 |
|
77 |
+
| 1.3062 | 6.9091 | 19 | 0.9176 | 0.6774 |
|
78 |
+
| 1.0003 | 8.0 | 22 | 0.8761 | 0.6774 |
|
79 |
+
| 1.0003 | 8.7273 | 24 | 0.8540 | 0.6774 |
|
80 |
+
| 1.0003 | 9.8182 | 27 | 0.7777 | 0.6613 |
|
81 |
+
| 0.8096 | 10.9091 | 30 | 0.7498 | 0.6613 |
|
82 |
+
| 0.8096 | 12.0 | 33 | 0.7569 | 0.6613 |
|
83 |
+
| 0.8096 | 12.7273 | 35 | 0.7422 | 0.6774 |
|
84 |
+
| 0.8096 | 13.8182 | 38 | 0.7278 | 0.7097 |
|
85 |
+
| 0.6556 | 14.9091 | 41 | 0.6877 | 0.7258 |
|
86 |
+
| 0.6556 | 16.0 | 44 | 0.6433 | 0.7258 |
|
87 |
+
| 0.6556 | 16.7273 | 46 | 0.6324 | 0.7419 |
|
88 |
+
| 0.6556 | 17.8182 | 49 | 0.6390 | 0.7419 |
|
89 |
+
| 0.5725 | 18.9091 | 52 | 0.6504 | 0.7742 |
|
90 |
+
| 0.5725 | 20.0 | 55 | 0.6145 | 0.7581 |
|
91 |
+
| 0.5725 | 20.7273 | 57 | 0.5824 | 0.7903 |
|
92 |
+
| 0.5057 | 21.8182 | 60 | 0.5476 | 0.8226 |
|
93 |
+
| 0.5057 | 22.9091 | 63 | 0.5413 | 0.8226 |
|
94 |
+
| 0.5057 | 24.0 | 66 | 0.5335 | 0.8226 |
|
95 |
+
| 0.5057 | 24.7273 | 68 | 0.5302 | 0.8226 |
|
96 |
+
| 0.4945 | 25.8182 | 71 | 0.5231 | 0.8226 |
|
97 |
+
| 0.4945 | 26.9091 | 74 | 0.5167 | 0.8387 |
|
98 |
+
| 0.4945 | 28.0 | 77 | 0.5132 | 0.8387 |
|
99 |
+
| 0.4945 | 28.7273 | 79 | 0.5131 | 0.8387 |
|
100 |
+
| 0.4883 | 29.0909 | 80 | 0.5131 | 0.8387 |
|
101 |
+
|
102 |
+
|
103 |
+
### Framework versions
|
104 |
+
|
105 |
+
- Transformers 4.44.2
|
106 |
+
- Pytorch 2.4.1+cu121
|
107 |
+
- Datasets 3.0.1
|
108 |
+
- Tokenizers 0.19.1
|
all_results.json
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
-
{
|
2 |
-
"epoch": 29.
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime": 2.
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second": 0.
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
|
|
12 |
}
|
|
|
1 |
+
{
|
2 |
+
"epoch": 29.09090909090909,
|
3 |
+
"eval_accuracy": 0.8387096774193549,
|
4 |
+
"eval_loss": 0.5166797637939453,
|
5 |
+
"eval_runtime": 2.8799,
|
6 |
+
"eval_samples_per_second": 21.529,
|
7 |
+
"eval_steps_per_second": 0.694,
|
8 |
+
"total_flos": 3.312830060612813e+17,
|
9 |
+
"train_loss": 0.7290899336338044,
|
10 |
+
"train_runtime": 714.1327,
|
11 |
+
"train_samples_per_second": 19.604,
|
12 |
+
"train_steps_per_second": 0.112
|
13 |
}
|
config.json
CHANGED
@@ -1,58 +1,71 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "microsoft/swinv2-tiny-patch4-window8-256",
|
3 |
-
"architectures": [
|
4 |
-
"Swinv2ForImageClassification"
|
5 |
-
],
|
6 |
-
"attention_probs_dropout_prob": 0.0,
|
7 |
-
"depths": [
|
8 |
-
2,
|
9 |
-
2,
|
10 |
-
6,
|
11 |
-
2
|
12 |
-
],
|
13 |
-
"drop_path_rate": 0.1,
|
14 |
-
"embed_dim": 96,
|
15 |
-
"encoder_stride": 32,
|
16 |
-
"hidden_act": "gelu",
|
17 |
-
"hidden_dropout_prob": 0.0,
|
18 |
-
"hidden_size": 768,
|
19 |
-
"id2label": {
|
20 |
-
"0": "active",
|
21 |
-
"1": "active-inactive",
|
22 |
-
"2": "healthy",
|
23 |
-
"3": "inactive"
|
24 |
-
},
|
25 |
-
"image_size": 256,
|
26 |
-
"initializer_range": 0.02,
|
27 |
-
"label2id": {
|
28 |
-
"active": 0,
|
29 |
-
"active-inactive": 1,
|
30 |
-
"healthy": 2,
|
31 |
-
"inactive": 3
|
32 |
-
},
|
33 |
-
"layer_norm_eps": 1e-05,
|
34 |
-
"mlp_ratio": 4.0,
|
35 |
-
"model_type": "swinv2",
|
36 |
-
"num_channels": 3,
|
37 |
-
"num_heads": [
|
38 |
-
3,
|
39 |
-
6,
|
40 |
-
12,
|
41 |
-
24
|
42 |
-
],
|
43 |
-
"num_layers": 4,
|
44 |
-
"
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
"
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swinv2-tiny-patch4-window8-256",
|
3 |
+
"architectures": [
|
4 |
+
"Swinv2ForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": "active",
|
21 |
+
"1": "active-inactive",
|
22 |
+
"2": "healthy",
|
23 |
+
"3": "inactive"
|
24 |
+
},
|
25 |
+
"image_size": 256,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"active": 0,
|
29 |
+
"active-inactive": 1,
|
30 |
+
"healthy": 2,
|
31 |
+
"inactive": 3
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-05,
|
34 |
+
"mlp_ratio": 4.0,
|
35 |
+
"model_type": "swinv2",
|
36 |
+
"num_channels": 3,
|
37 |
+
"num_heads": [
|
38 |
+
3,
|
39 |
+
6,
|
40 |
+
12,
|
41 |
+
24
|
42 |
+
],
|
43 |
+
"num_layers": 4,
|
44 |
+
"out_features": [
|
45 |
+
"stage4"
|
46 |
+
],
|
47 |
+
"out_indices": [
|
48 |
+
4
|
49 |
+
],
|
50 |
+
"patch_size": 4,
|
51 |
+
"path_norm": true,
|
52 |
+
"pretrained_window_sizes": [
|
53 |
+
0,
|
54 |
+
0,
|
55 |
+
0,
|
56 |
+
0
|
57 |
+
],
|
58 |
+
"problem_type": "single_label_classification",
|
59 |
+
"qkv_bias": true,
|
60 |
+
"stage_names": [
|
61 |
+
"stem",
|
62 |
+
"stage1",
|
63 |
+
"stage2",
|
64 |
+
"stage3",
|
65 |
+
"stage4"
|
66 |
+
],
|
67 |
+
"torch_dtype": "float32",
|
68 |
+
"transformers_version": "4.44.2",
|
69 |
+
"use_absolute_embeddings": false,
|
70 |
+
"window_size": 8
|
71 |
+
}
|
eval_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
{
|
2 |
-
"epoch": 29.
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime": 2.
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
+
{
|
2 |
+
"epoch": 29.09090909090909,
|
3 |
+
"eval_accuracy": 0.8387096774193549,
|
4 |
+
"eval_loss": 0.5166797637939453,
|
5 |
+
"eval_runtime": 2.8799,
|
6 |
+
"eval_samples_per_second": 21.529,
|
7 |
+
"eval_steps_per_second": 0.694
|
8 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 110356296
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9088d5cdfd4e0544dc4cb2872f795548dc215c7272f7a2578464c3f1ac9e198c
|
3 |
size 110356296
|
preprocessor_config.json
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
-
{
|
2 |
-
"do_normalize": true,
|
3 |
-
"do_rescale": true,
|
4 |
-
"do_resize": true,
|
5 |
-
"image_mean": [
|
6 |
-
0.485,
|
7 |
-
0.456,
|
8 |
-
0.406
|
9 |
-
],
|
10 |
-
"image_processor_type": "ViTImageProcessor",
|
11 |
-
"image_std": [
|
12 |
-
0.229,
|
13 |
-
0.224,
|
14 |
-
0.225
|
15 |
-
],
|
16 |
-
"resample": 3,
|
17 |
-
"rescale_factor": 0.00392156862745098,
|
18 |
-
"size": {
|
19 |
-
"height": 256,
|
20 |
-
"width": 256
|
21 |
-
}
|
22 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 256,
|
20 |
+
"width": 256
|
21 |
+
}
|
22 |
+
}
|
runs/Oct13_15-01-08_9b69f8f7fe92/events.out.tfevents.1728831686.9b69f8f7fe92.1642.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67e20f350dc036eac5e18af66e5effe677d91038def2cbec8e066bc3a47c286c
|
3 |
+
size 17079
|
runs/Oct13_15-01-08_9b69f8f7fe92/events.out.tfevents.1728832673.9b69f8f7fe92.1642.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b056a3326bc87b591abc5b6b3d29054361e4ede4d40769bbc30de720bc87c957
|
3 |
+
size 405
|
train_results.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
-
{
|
2 |
-
"epoch": 29.
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
|
|
7 |
}
|
|
|
1 |
+
{
|
2 |
+
"epoch": 29.09090909090909,
|
3 |
+
"total_flos": 3.312830060612813e+17,
|
4 |
+
"train_loss": 0.7290899336338044,
|
5 |
+
"train_runtime": 714.1327,
|
6 |
+
"train_samples_per_second": 19.604,
|
7 |
+
"train_steps_per_second": 0.112
|
8 |
}
|
trainer_state.json
CHANGED
@@ -1,348 +1,368 @@
|
|
1 |
-
{
|
2 |
-
"best_metric": 0.
|
3 |
-
"best_model_checkpoint": "swinv2-tiny-patch4-window8-256-Ocular-Toxoplasmosis
|
4 |
-
"epoch": 29.09090909090909,
|
5 |
-
"eval_steps": 500,
|
6 |
-
"global_step": 80,
|
7 |
-
"is_hyper_param_search": false,
|
8 |
-
"is_local_process_zero": true,
|
9 |
-
"is_world_process_zero": true,
|
10 |
-
"log_history": [
|
11 |
-
{
|
12 |
-
"epoch": 0.
|
13 |
-
"eval_accuracy": 0.
|
14 |
-
"eval_loss":
|
15 |
-
"eval_runtime":
|
16 |
-
"eval_samples_per_second":
|
17 |
-
"eval_steps_per_second": 0.
|
18 |
-
"step": 2
|
19 |
-
},
|
20 |
-
{
|
21 |
-
"epoch": 1.
|
22 |
-
"eval_accuracy": 0.
|
23 |
-
"eval_loss":
|
24 |
-
"eval_runtime": 2.
|
25 |
-
"eval_samples_per_second":
|
26 |
-
"eval_steps_per_second": 0.
|
27 |
-
"step": 5
|
28 |
-
},
|
29 |
-
{
|
30 |
-
"epoch": 2.
|
31 |
-
"eval_accuracy": 0.
|
32 |
-
"eval_loss":
|
33 |
-
"eval_runtime": 2.
|
34 |
-
"eval_samples_per_second":
|
35 |
-
"eval_steps_per_second": 0.
|
36 |
-
"step": 8
|
37 |
-
},
|
38 |
-
{
|
39 |
-
"epoch": 3.
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"
|
58 |
-
"
|
59 |
-
"
|
60 |
-
"
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
"
|
65 |
-
"
|
66 |
-
"
|
67 |
-
"
|
68 |
-
"
|
69 |
-
"
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
"
|
74 |
-
"
|
75 |
-
"
|
76 |
-
"
|
77 |
-
"
|
78 |
-
"
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
"
|
83 |
-
"
|
84 |
-
"
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
"
|
90 |
-
"
|
91 |
-
"
|
92 |
-
"
|
93 |
-
"
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
"
|
99 |
-
"
|
100 |
-
"
|
101 |
-
"
|
102 |
-
"
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
"
|
108 |
-
"
|
109 |
-
"
|
110 |
-
"
|
111 |
-
"
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
"
|
117 |
-
"
|
118 |
-
|
119 |
-
|
120 |
-
"
|
121 |
-
|
122 |
-
|
123 |
-
"
|
124 |
-
"
|
125 |
-
"
|
126 |
-
"
|
127 |
-
|
128 |
-
|
129 |
-
"
|
130 |
-
|
131 |
-
|
132 |
-
"
|
133 |
-
"
|
134 |
-
"
|
135 |
-
"
|
136 |
-
|
137 |
-
|
138 |
-
"
|
139 |
-
|
140 |
-
|
141 |
-
"
|
142 |
-
"
|
143 |
-
"
|
144 |
-
"
|
145 |
-
|
146 |
-
|
147 |
-
"
|
148 |
-
|
149 |
-
|
150 |
-
"
|
151 |
-
"
|
152 |
-
"
|
153 |
-
"
|
154 |
-
|
155 |
-
|
156 |
-
"
|
157 |
-
|
158 |
-
|
159 |
-
"
|
160 |
-
|
161 |
-
|
162 |
-
"
|
163 |
-
"
|
164 |
-
|
165 |
-
|
166 |
-
"
|
167 |
-
"
|
168 |
-
"
|
169 |
-
|
170 |
-
|
171 |
-
"
|
172 |
-
"
|
173 |
-
|
174 |
-
|
175 |
-
"
|
176 |
-
"
|
177 |
-
"
|
178 |
-
|
179 |
-
|
180 |
-
"
|
181 |
-
"
|
182 |
-
|
183 |
-
|
184 |
-
"
|
185 |
-
"
|
186 |
-
"
|
187 |
-
|
188 |
-
|
189 |
-
"
|
190 |
-
"
|
191 |
-
|
192 |
-
|
193 |
-
"
|
194 |
-
"
|
195 |
-
"
|
196 |
-
|
197 |
-
|
198 |
-
"
|
199 |
-
"
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
"
|
205 |
-
"
|
206 |
-
"
|
207 |
-
|
208 |
-
|
209 |
-
"
|
210 |
-
"
|
211 |
-
|
212 |
-
|
213 |
-
"
|
214 |
-
"
|
215 |
-
"
|
216 |
-
|
217 |
-
|
218 |
-
"
|
219 |
-
"
|
220 |
-
|
221 |
-
|
222 |
-
"
|
223 |
-
"
|
224 |
-
"
|
225 |
-
|
226 |
-
|
227 |
-
"
|
228 |
-
"
|
229 |
-
|
230 |
-
|
231 |
-
"
|
232 |
-
"
|
233 |
-
"
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
"
|
238 |
-
"
|
239 |
-
"
|
240 |
-
"
|
241 |
-
|
242 |
-
|
243 |
-
"
|
244 |
-
|
245 |
-
|
246 |
-
"
|
247 |
-
"
|
248 |
-
"
|
249 |
-
"
|
250 |
-
|
251 |
-
|
252 |
-
"
|
253 |
-
|
254 |
-
|
255 |
-
"
|
256 |
-
"
|
257 |
-
"
|
258 |
-
"
|
259 |
-
|
260 |
-
|
261 |
-
"
|
262 |
-
|
263 |
-
|
264 |
-
"
|
265 |
-
"
|
266 |
-
"
|
267 |
-
"
|
268 |
-
|
269 |
-
|
270 |
-
"
|
271 |
-
|
272 |
-
|
273 |
-
"
|
274 |
-
"
|
275 |
-
"
|
276 |
-
"step":
|
277 |
-
},
|
278 |
-
{
|
279 |
-
"epoch": 25.
|
280 |
-
"
|
281 |
-
"
|
282 |
-
"
|
283 |
-
"
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
"
|
289 |
-
"
|
290 |
-
"
|
291 |
-
"
|
292 |
-
"
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
"
|
298 |
-
"
|
299 |
-
"
|
300 |
-
"
|
301 |
-
"
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
"
|
307 |
-
"
|
308 |
-
"
|
309 |
-
"
|
310 |
-
"
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
"
|
316 |
-
"
|
317 |
-
"
|
318 |
-
"
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
"
|
323 |
-
"
|
324 |
-
"
|
325 |
-
"
|
326 |
-
"
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
"
|
331 |
-
"
|
332 |
-
"
|
333 |
-
"
|
334 |
-
"
|
335 |
-
"
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
"
|
348 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8387096774193549,
|
3 |
+
"best_model_checkpoint": "swinv2-tiny-patch4-window8-256-Ocular-Toxoplasmosis/checkpoint-74",
|
4 |
+
"epoch": 29.09090909090909,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 80,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.7272727272727273,
|
13 |
+
"eval_accuracy": 0.24193548387096775,
|
14 |
+
"eval_loss": 1.4057228565216064,
|
15 |
+
"eval_runtime": 3.9176,
|
16 |
+
"eval_samples_per_second": 15.826,
|
17 |
+
"eval_steps_per_second": 0.511,
|
18 |
+
"step": 2
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 1.8181818181818183,
|
22 |
+
"eval_accuracy": 0.46774193548387094,
|
23 |
+
"eval_loss": 1.2099871635437012,
|
24 |
+
"eval_runtime": 2.8828,
|
25 |
+
"eval_samples_per_second": 21.507,
|
26 |
+
"eval_steps_per_second": 0.694,
|
27 |
+
"step": 5
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.909090909090909,
|
31 |
+
"eval_accuracy": 0.45161290322580644,
|
32 |
+
"eval_loss": 1.18076491355896,
|
33 |
+
"eval_runtime": 2.8384,
|
34 |
+
"eval_samples_per_second": 21.843,
|
35 |
+
"eval_steps_per_second": 0.705,
|
36 |
+
"step": 8
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 3.6363636363636362,
|
40 |
+
"grad_norm": 10.30179214477539,
|
41 |
+
"learning_rate": 4.8611111111111115e-05,
|
42 |
+
"loss": 1.3062,
|
43 |
+
"step": 10
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"epoch": 4.0,
|
47 |
+
"eval_accuracy": 0.5967741935483871,
|
48 |
+
"eval_loss": 1.0975382328033447,
|
49 |
+
"eval_runtime": 3.6135,
|
50 |
+
"eval_samples_per_second": 17.158,
|
51 |
+
"eval_steps_per_second": 0.553,
|
52 |
+
"step": 11
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 4.7272727272727275,
|
56 |
+
"eval_accuracy": 0.6612903225806451,
|
57 |
+
"eval_loss": 1.0542328357696533,
|
58 |
+
"eval_runtime": 3.5171,
|
59 |
+
"eval_samples_per_second": 17.628,
|
60 |
+
"eval_steps_per_second": 0.569,
|
61 |
+
"step": 13
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"epoch": 5.818181818181818,
|
65 |
+
"eval_accuracy": 0.6612903225806451,
|
66 |
+
"eval_loss": 0.9857348799705505,
|
67 |
+
"eval_runtime": 2.887,
|
68 |
+
"eval_samples_per_second": 21.475,
|
69 |
+
"eval_steps_per_second": 0.693,
|
70 |
+
"step": 16
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 6.909090909090909,
|
74 |
+
"eval_accuracy": 0.6774193548387096,
|
75 |
+
"eval_loss": 0.9176284074783325,
|
76 |
+
"eval_runtime": 2.8754,
|
77 |
+
"eval_samples_per_second": 21.562,
|
78 |
+
"eval_steps_per_second": 0.696,
|
79 |
+
"step": 19
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 7.2727272727272725,
|
83 |
+
"grad_norm": 4.642858982086182,
|
84 |
+
"learning_rate": 4.166666666666667e-05,
|
85 |
+
"loss": 1.0003,
|
86 |
+
"step": 20
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 8.0,
|
90 |
+
"eval_accuracy": 0.6774193548387096,
|
91 |
+
"eval_loss": 0.8760596513748169,
|
92 |
+
"eval_runtime": 3.7173,
|
93 |
+
"eval_samples_per_second": 16.679,
|
94 |
+
"eval_steps_per_second": 0.538,
|
95 |
+
"step": 22
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"epoch": 8.727272727272727,
|
99 |
+
"eval_accuracy": 0.6774193548387096,
|
100 |
+
"eval_loss": 0.8539677262306213,
|
101 |
+
"eval_runtime": 3.3041,
|
102 |
+
"eval_samples_per_second": 18.764,
|
103 |
+
"eval_steps_per_second": 0.605,
|
104 |
+
"step": 24
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 9.818181818181818,
|
108 |
+
"eval_accuracy": 0.6612903225806451,
|
109 |
+
"eval_loss": 0.7776592969894409,
|
110 |
+
"eval_runtime": 3.1776,
|
111 |
+
"eval_samples_per_second": 19.511,
|
112 |
+
"eval_steps_per_second": 0.629,
|
113 |
+
"step": 27
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 10.909090909090908,
|
117 |
+
"grad_norm": 5.499239921569824,
|
118 |
+
"learning_rate": 3.472222222222222e-05,
|
119 |
+
"loss": 0.8096,
|
120 |
+
"step": 30
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"epoch": 10.909090909090908,
|
124 |
+
"eval_accuracy": 0.6612903225806451,
|
125 |
+
"eval_loss": 0.7497676014900208,
|
126 |
+
"eval_runtime": 3.1503,
|
127 |
+
"eval_samples_per_second": 19.68,
|
128 |
+
"eval_steps_per_second": 0.635,
|
129 |
+
"step": 30
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 12.0,
|
133 |
+
"eval_accuracy": 0.6612903225806451,
|
134 |
+
"eval_loss": 0.7568932175636292,
|
135 |
+
"eval_runtime": 3.7657,
|
136 |
+
"eval_samples_per_second": 16.465,
|
137 |
+
"eval_steps_per_second": 0.531,
|
138 |
+
"step": 33
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 12.727272727272727,
|
142 |
+
"eval_accuracy": 0.6774193548387096,
|
143 |
+
"eval_loss": 0.7422052025794983,
|
144 |
+
"eval_runtime": 3.1158,
|
145 |
+
"eval_samples_per_second": 19.898,
|
146 |
+
"eval_steps_per_second": 0.642,
|
147 |
+
"step": 35
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 13.818181818181818,
|
151 |
+
"eval_accuracy": 0.7096774193548387,
|
152 |
+
"eval_loss": 0.7278109788894653,
|
153 |
+
"eval_runtime": 2.8488,
|
154 |
+
"eval_samples_per_second": 21.763,
|
155 |
+
"eval_steps_per_second": 0.702,
|
156 |
+
"step": 38
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 14.545454545454545,
|
160 |
+
"grad_norm": 8.175309181213379,
|
161 |
+
"learning_rate": 2.777777777777778e-05,
|
162 |
+
"loss": 0.6556,
|
163 |
+
"step": 40
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 14.909090909090908,
|
167 |
+
"eval_accuracy": 0.7258064516129032,
|
168 |
+
"eval_loss": 0.687738835811615,
|
169 |
+
"eval_runtime": 2.8406,
|
170 |
+
"eval_samples_per_second": 21.827,
|
171 |
+
"eval_steps_per_second": 0.704,
|
172 |
+
"step": 41
|
173 |
+
},
|
174 |
+
{
|
175 |
+
"epoch": 16.0,
|
176 |
+
"eval_accuracy": 0.7258064516129032,
|
177 |
+
"eval_loss": 0.6433460116386414,
|
178 |
+
"eval_runtime": 4.134,
|
179 |
+
"eval_samples_per_second": 14.998,
|
180 |
+
"eval_steps_per_second": 0.484,
|
181 |
+
"step": 44
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 16.727272727272727,
|
185 |
+
"eval_accuracy": 0.7419354838709677,
|
186 |
+
"eval_loss": 0.6324245929718018,
|
187 |
+
"eval_runtime": 2.8555,
|
188 |
+
"eval_samples_per_second": 21.713,
|
189 |
+
"eval_steps_per_second": 0.7,
|
190 |
+
"step": 46
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"epoch": 17.818181818181817,
|
194 |
+
"eval_accuracy": 0.7419354838709677,
|
195 |
+
"eval_loss": 0.6389685273170471,
|
196 |
+
"eval_runtime": 2.8092,
|
197 |
+
"eval_samples_per_second": 22.07,
|
198 |
+
"eval_steps_per_second": 0.712,
|
199 |
+
"step": 49
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 18.181818181818183,
|
203 |
+
"grad_norm": 5.849218845367432,
|
204 |
+
"learning_rate": 2.0833333333333336e-05,
|
205 |
+
"loss": 0.5725,
|
206 |
+
"step": 50
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 18.90909090909091,
|
210 |
+
"eval_accuracy": 0.7741935483870968,
|
211 |
+
"eval_loss": 0.6503620743751526,
|
212 |
+
"eval_runtime": 2.8945,
|
213 |
+
"eval_samples_per_second": 21.42,
|
214 |
+
"eval_steps_per_second": 0.691,
|
215 |
+
"step": 52
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"epoch": 20.0,
|
219 |
+
"eval_accuracy": 0.7580645161290323,
|
220 |
+
"eval_loss": 0.6144644618034363,
|
221 |
+
"eval_runtime": 4.0673,
|
222 |
+
"eval_samples_per_second": 15.244,
|
223 |
+
"eval_steps_per_second": 0.492,
|
224 |
+
"step": 55
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 20.727272727272727,
|
228 |
+
"eval_accuracy": 0.7903225806451613,
|
229 |
+
"eval_loss": 0.5823854207992554,
|
230 |
+
"eval_runtime": 3.0464,
|
231 |
+
"eval_samples_per_second": 20.352,
|
232 |
+
"eval_steps_per_second": 0.657,
|
233 |
+
"step": 57
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 21.818181818181817,
|
237 |
+
"grad_norm": 6.505163669586182,
|
238 |
+
"learning_rate": 1.388888888888889e-05,
|
239 |
+
"loss": 0.5057,
|
240 |
+
"step": 60
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 21.818181818181817,
|
244 |
+
"eval_accuracy": 0.8225806451612904,
|
245 |
+
"eval_loss": 0.547602117061615,
|
246 |
+
"eval_runtime": 2.9115,
|
247 |
+
"eval_samples_per_second": 21.295,
|
248 |
+
"eval_steps_per_second": 0.687,
|
249 |
+
"step": 60
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 22.90909090909091,
|
253 |
+
"eval_accuracy": 0.8225806451612904,
|
254 |
+
"eval_loss": 0.5412537455558777,
|
255 |
+
"eval_runtime": 2.8707,
|
256 |
+
"eval_samples_per_second": 21.598,
|
257 |
+
"eval_steps_per_second": 0.697,
|
258 |
+
"step": 63
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 24.0,
|
262 |
+
"eval_accuracy": 0.8225806451612904,
|
263 |
+
"eval_loss": 0.5334817171096802,
|
264 |
+
"eval_runtime": 3.2898,
|
265 |
+
"eval_samples_per_second": 18.846,
|
266 |
+
"eval_steps_per_second": 0.608,
|
267 |
+
"step": 66
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"epoch": 24.727272727272727,
|
271 |
+
"eval_accuracy": 0.8225806451612904,
|
272 |
+
"eval_loss": 0.5301870703697205,
|
273 |
+
"eval_runtime": 3.8383,
|
274 |
+
"eval_samples_per_second": 16.153,
|
275 |
+
"eval_steps_per_second": 0.521,
|
276 |
+
"step": 68
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 25.454545454545453,
|
280 |
+
"grad_norm": 8.245793342590332,
|
281 |
+
"learning_rate": 6.944444444444445e-06,
|
282 |
+
"loss": 0.4945,
|
283 |
+
"step": 70
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"epoch": 25.818181818181817,
|
287 |
+
"eval_accuracy": 0.8225806451612904,
|
288 |
+
"eval_loss": 0.5231319665908813,
|
289 |
+
"eval_runtime": 3.1472,
|
290 |
+
"eval_samples_per_second": 19.7,
|
291 |
+
"eval_steps_per_second": 0.635,
|
292 |
+
"step": 71
|
293 |
+
},
|
294 |
+
{
|
295 |
+
"epoch": 26.90909090909091,
|
296 |
+
"eval_accuracy": 0.8387096774193549,
|
297 |
+
"eval_loss": 0.5166797637939453,
|
298 |
+
"eval_runtime": 3.151,
|
299 |
+
"eval_samples_per_second": 19.677,
|
300 |
+
"eval_steps_per_second": 0.635,
|
301 |
+
"step": 74
|
302 |
+
},
|
303 |
+
{
|
304 |
+
"epoch": 28.0,
|
305 |
+
"eval_accuracy": 0.8387096774193549,
|
306 |
+
"eval_loss": 0.5131666660308838,
|
307 |
+
"eval_runtime": 3.202,
|
308 |
+
"eval_samples_per_second": 19.363,
|
309 |
+
"eval_steps_per_second": 0.625,
|
310 |
+
"step": 77
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 28.727272727272727,
|
314 |
+
"eval_accuracy": 0.8387096774193549,
|
315 |
+
"eval_loss": 0.513070821762085,
|
316 |
+
"eval_runtime": 4.4164,
|
317 |
+
"eval_samples_per_second": 14.039,
|
318 |
+
"eval_steps_per_second": 0.453,
|
319 |
+
"step": 79
|
320 |
+
},
|
321 |
+
{
|
322 |
+
"epoch": 29.09090909090909,
|
323 |
+
"grad_norm": 9.397185325622559,
|
324 |
+
"learning_rate": 0.0,
|
325 |
+
"loss": 0.4883,
|
326 |
+
"step": 80
|
327 |
+
},
|
328 |
+
{
|
329 |
+
"epoch": 29.09090909090909,
|
330 |
+
"eval_accuracy": 0.8387096774193549,
|
331 |
+
"eval_loss": 0.5131446719169617,
|
332 |
+
"eval_runtime": 2.9088,
|
333 |
+
"eval_samples_per_second": 21.314,
|
334 |
+
"eval_steps_per_second": 0.688,
|
335 |
+
"step": 80
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"epoch": 29.09090909090909,
|
339 |
+
"step": 80,
|
340 |
+
"total_flos": 3.312830060612813e+17,
|
341 |
+
"train_loss": 0.7290899336338044,
|
342 |
+
"train_runtime": 714.1327,
|
343 |
+
"train_samples_per_second": 19.604,
|
344 |
+
"train_steps_per_second": 0.112
|
345 |
+
}
|
346 |
+
],
|
347 |
+
"logging_steps": 10,
|
348 |
+
"max_steps": 80,
|
349 |
+
"num_input_tokens_seen": 0,
|
350 |
+
"num_train_epochs": 40,
|
351 |
+
"save_steps": 500,
|
352 |
+
"stateful_callbacks": {
|
353 |
+
"TrainerControl": {
|
354 |
+
"args": {
|
355 |
+
"should_epoch_stop": false,
|
356 |
+
"should_evaluate": false,
|
357 |
+
"should_log": false,
|
358 |
+
"should_save": true,
|
359 |
+
"should_training_stop": true
|
360 |
+
},
|
361 |
+
"attributes": {}
|
362 |
+
}
|
363 |
+
},
|
364 |
+
"total_flos": 3.312830060612813e+17,
|
365 |
+
"train_batch_size": 32,
|
366 |
+
"trial_name": null,
|
367 |
+
"trial_params": null
|
368 |
+
}
|
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:d721724455b9c9117091e3482c977b759172e83b66a5f194bff2b562307699ec
|
3 |
+
size 5304
|