End of training
Browse files- .gitignore +1 -0
- all_results.json +12 -0
- config.json +46 -0
- eval_results.json +8 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- runs/Feb21_21-37-50_OSchamp-PC/1677011870.6912885/events.out.tfevents.1677011870.OSchamp-PC.24564.1 +3 -0
- runs/Feb21_21-37-50_OSchamp-PC/events.out.tfevents.1677011870.OSchamp-PC.24564.0 +3 -0
- runs/Feb21_21-37-50_OSchamp-PC/events.out.tfevents.1677012093.OSchamp-PC.24564.2 +3 -0
- train_results.json +7 -0
- trainer_state.json +109 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.4887640449438202,
|
4 |
+
"eval_loss": 1.3362700939178467,
|
5 |
+
"eval_runtime": 1.464,
|
6 |
+
"eval_samples_per_second": 121.585,
|
7 |
+
"eval_steps_per_second": 15.71,
|
8 |
+
"train_loss": 0.6919720236744199,
|
9 |
+
"train_runtime": 221.2781,
|
10 |
+
"train_samples_per_second": 64.1,
|
11 |
+
"train_steps_per_second": 2.025
|
12 |
+
}
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "art_nouveau",
|
13 |
+
"1": "baroque",
|
14 |
+
"2": "expressionism",
|
15 |
+
"3": "impressionism",
|
16 |
+
"4": "post_impressionism",
|
17 |
+
"5": "realism",
|
18 |
+
"6": "renaissance",
|
19 |
+
"7": "romanticism",
|
20 |
+
"8": "surrealism"
|
21 |
+
},
|
22 |
+
"image_size": 224,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"art_nouveau": "0",
|
27 |
+
"baroque": "1",
|
28 |
+
"expressionism": "2",
|
29 |
+
"impressionism": "3",
|
30 |
+
"post_impressionism": "4",
|
31 |
+
"realism": "5",
|
32 |
+
"renaissance": "6",
|
33 |
+
"romanticism": "7",
|
34 |
+
"surrealism": "8"
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-12,
|
37 |
+
"model_type": "vit",
|
38 |
+
"num_attention_heads": 12,
|
39 |
+
"num_channels": 3,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"patch_size": 16,
|
42 |
+
"problem_type": "single_label_classification",
|
43 |
+
"qkv_bias": true,
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.26.1"
|
46 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.4887640449438202,
|
4 |
+
"eval_loss": 1.3362700939178467,
|
5 |
+
"eval_runtime": 1.464,
|
6 |
+
"eval_samples_per_second": 121.585,
|
7 |
+
"eval_steps_per_second": 15.71
|
8 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTFeatureExtractor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c9d9ca1c7cc02ffd2ae4d152309d2ae52a11c26cd61cdc65043c0fd840af521
|
3 |
+
size 343290221
|
runs/Feb21_21-37-50_OSchamp-PC/1677011870.6912885/events.out.tfevents.1677011870.OSchamp-PC.24564.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c22fc2f5f774726279c2cf7bdb043bcaba2f3b70f2c62f2fdaee420d6bd9fe1
|
3 |
+
size 5741
|
runs/Feb21_21-37-50_OSchamp-PC/events.out.tfevents.1677011870.OSchamp-PC.24564.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1faec9c3cb4be636becd8fbfb80687342544a634dc10a1f30660ac9c0e5103a8
|
3 |
+
size 7123
|
runs/Feb21_21-37-50_OSchamp-PC/events.out.tfevents.1677012093.OSchamp-PC.24564.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c94c506a9b23de8f535d643fb7cd5d9ee8acdba954df366b36b93918199ee9fa
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"train_loss": 0.6919720236744199,
|
4 |
+
"train_runtime": 221.2781,
|
5 |
+
"train_samples_per_second": 64.1,
|
6 |
+
"train_steps_per_second": 2.025
|
7 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 1.3362700939178467,
|
3 |
+
"best_model_checkpoint": "./vit-artworkclassifier\\checkpoint-200",
|
4 |
+
"epoch": 8.0,
|
5 |
+
"global_step": 448,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.89,
|
12 |
+
"learning_rate": 8.883928571428571e-05,
|
13 |
+
"loss": 1.9187,
|
14 |
+
"step": 50
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.79,
|
18 |
+
"learning_rate": 7.767857142857144e-05,
|
19 |
+
"loss": 1.4136,
|
20 |
+
"step": 100
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.79,
|
24 |
+
"eval_accuracy": 0.5112359550561798,
|
25 |
+
"eval_loss": 1.5092945098876953,
|
26 |
+
"eval_runtime": 1.5015,
|
27 |
+
"eval_samples_per_second": 118.548,
|
28 |
+
"eval_steps_per_second": 15.318,
|
29 |
+
"step": 100
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 2.68,
|
33 |
+
"learning_rate": 6.651785714285714e-05,
|
34 |
+
"loss": 1.0465,
|
35 |
+
"step": 150
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 3.57,
|
39 |
+
"learning_rate": 5.535714285714286e-05,
|
40 |
+
"loss": 0.7189,
|
41 |
+
"step": 200
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.57,
|
45 |
+
"eval_accuracy": 0.4887640449438202,
|
46 |
+
"eval_loss": 1.3362700939178467,
|
47 |
+
"eval_runtime": 1.475,
|
48 |
+
"eval_samples_per_second": 120.678,
|
49 |
+
"eval_steps_per_second": 15.593,
|
50 |
+
"step": 200
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 4.46,
|
54 |
+
"learning_rate": 4.419642857142857e-05,
|
55 |
+
"loss": 0.4243,
|
56 |
+
"step": 250
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 5.36,
|
60 |
+
"learning_rate": 3.303571428571429e-05,
|
61 |
+
"loss": 0.2717,
|
62 |
+
"step": 300
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 5.36,
|
66 |
+
"eval_accuracy": 0.5280898876404494,
|
67 |
+
"eval_loss": 1.490658164024353,
|
68 |
+
"eval_runtime": 1.4785,
|
69 |
+
"eval_samples_per_second": 120.393,
|
70 |
+
"eval_steps_per_second": 15.556,
|
71 |
+
"step": 300
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 6.25,
|
75 |
+
"learning_rate": 2.1875e-05,
|
76 |
+
"loss": 0.184,
|
77 |
+
"step": 350
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 7.14,
|
81 |
+
"learning_rate": 1.0714285714285714e-05,
|
82 |
+
"loss": 0.1227,
|
83 |
+
"step": 400
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"epoch": 7.14,
|
87 |
+
"eval_accuracy": 0.5561797752808989,
|
88 |
+
"eval_loss": 1.4826292991638184,
|
89 |
+
"eval_runtime": 1.463,
|
90 |
+
"eval_samples_per_second": 121.668,
|
91 |
+
"eval_steps_per_second": 15.721,
|
92 |
+
"step": 400
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 8.0,
|
96 |
+
"step": 448,
|
97 |
+
"total_flos": 1.0992153398028042e+18,
|
98 |
+
"train_loss": 0.6919720236744199,
|
99 |
+
"train_runtime": 221.2781,
|
100 |
+
"train_samples_per_second": 64.1,
|
101 |
+
"train_steps_per_second": 2.025
|
102 |
+
}
|
103 |
+
],
|
104 |
+
"max_steps": 448,
|
105 |
+
"num_train_epochs": 8,
|
106 |
+
"total_flos": 1.0992153398028042e+18,
|
107 |
+
"trial_name": null,
|
108 |
+
"trial_params": null
|
109 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2f0782b18499c0eb146fd57158a7f97d1753735fa78d6d0dda80002fd01c1f7
|
3 |
+
size 3515
|