Upload folder using huggingface_hub
Browse files- checkpoint-1436/config.json +128 -0
- checkpoint-1436/model.safetensors +3 -0
- checkpoint-1436/optimizer.pt +3 -0
- checkpoint-1436/preprocessor_config.json +36 -0
- checkpoint-1436/rng_state.pth +3 -0
- checkpoint-1436/scheduler.pt +3 -0
- checkpoint-1436/trainer_state.json +65 -0
- checkpoint-1436/training_args.bin +3 -0
- config.json +1 -1
- model.safetensors +1 -1
- training_args.bin +1 -1
checkpoint-1436/config.json
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/military_aircraft_image_detection",
|
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": "A10",
|
13 |
+
"1": "A400M",
|
14 |
+
"2": "AG600",
|
15 |
+
"3": "AV8B",
|
16 |
+
"4": "B1",
|
17 |
+
"5": "B2",
|
18 |
+
"6": "B52",
|
19 |
+
"7": "Be200",
|
20 |
+
"8": "C130",
|
21 |
+
"9": "C17",
|
22 |
+
"10": "C2",
|
23 |
+
"11": "C5",
|
24 |
+
"12": "E2",
|
25 |
+
"13": "E7",
|
26 |
+
"14": "EF2000",
|
27 |
+
"15": "F117",
|
28 |
+
"16": "F14",
|
29 |
+
"17": "F15",
|
30 |
+
"18": "F16",
|
31 |
+
"19": "F18",
|
32 |
+
"20": "F22",
|
33 |
+
"21": "F35",
|
34 |
+
"22": "F4",
|
35 |
+
"23": "H6",
|
36 |
+
"24": "J10",
|
37 |
+
"25": "J20",
|
38 |
+
"26": "JAS39",
|
39 |
+
"27": "JF17",
|
40 |
+
"28": "KC135",
|
41 |
+
"29": "MQ9",
|
42 |
+
"30": "Mig31",
|
43 |
+
"31": "Mirage2000",
|
44 |
+
"32": "P3",
|
45 |
+
"33": "RQ4",
|
46 |
+
"34": "Rafale",
|
47 |
+
"35": "SR71",
|
48 |
+
"36": "Su24",
|
49 |
+
"37": "Su25",
|
50 |
+
"38": "Su34",
|
51 |
+
"39": "Su57",
|
52 |
+
"40": "Tornado",
|
53 |
+
"41": "Tu160",
|
54 |
+
"42": "Tu22M",
|
55 |
+
"43": "Tu95",
|
56 |
+
"44": "U2",
|
57 |
+
"45": "US2",
|
58 |
+
"46": "V22",
|
59 |
+
"47": "Vulcan",
|
60 |
+
"48": "XB70",
|
61 |
+
"49": "YF23"
|
62 |
+
},
|
63 |
+
"image_size": 224,
|
64 |
+
"initializer_range": 0.02,
|
65 |
+
"intermediate_size": 3072,
|
66 |
+
"label2id": {
|
67 |
+
"A10": 0,
|
68 |
+
"A400M": 1,
|
69 |
+
"AG600": 2,
|
70 |
+
"AV8B": 3,
|
71 |
+
"B1": 4,
|
72 |
+
"B2": 5,
|
73 |
+
"B52": 6,
|
74 |
+
"Be200": 7,
|
75 |
+
"C130": 8,
|
76 |
+
"C17": 9,
|
77 |
+
"C2": 10,
|
78 |
+
"C5": 11,
|
79 |
+
"E2": 12,
|
80 |
+
"E7": 13,
|
81 |
+
"EF2000": 14,
|
82 |
+
"F117": 15,
|
83 |
+
"F14": 16,
|
84 |
+
"F15": 17,
|
85 |
+
"F16": 18,
|
86 |
+
"F18": 19,
|
87 |
+
"F22": 20,
|
88 |
+
"F35": 21,
|
89 |
+
"F4": 22,
|
90 |
+
"H6": 23,
|
91 |
+
"J10": 24,
|
92 |
+
"J20": 25,
|
93 |
+
"JAS39": 26,
|
94 |
+
"JF17": 27,
|
95 |
+
"KC135": 28,
|
96 |
+
"MQ9": 29,
|
97 |
+
"Mig31": 30,
|
98 |
+
"Mirage2000": 31,
|
99 |
+
"P3": 32,
|
100 |
+
"RQ4": 33,
|
101 |
+
"Rafale": 34,
|
102 |
+
"SR71": 35,
|
103 |
+
"Su24": 36,
|
104 |
+
"Su25": 37,
|
105 |
+
"Su34": 38,
|
106 |
+
"Su57": 39,
|
107 |
+
"Tornado": 40,
|
108 |
+
"Tu160": 41,
|
109 |
+
"Tu22M": 42,
|
110 |
+
"Tu95": 43,
|
111 |
+
"U2": 44,
|
112 |
+
"US2": 45,
|
113 |
+
"V22": 46,
|
114 |
+
"Vulcan": 47,
|
115 |
+
"XB70": 48,
|
116 |
+
"YF23": 49
|
117 |
+
},
|
118 |
+
"layer_norm_eps": 1e-12,
|
119 |
+
"model_type": "vit",
|
120 |
+
"num_attention_heads": 12,
|
121 |
+
"num_channels": 3,
|
122 |
+
"num_hidden_layers": 12,
|
123 |
+
"patch_size": 16,
|
124 |
+
"problem_type": "single_label_classification",
|
125 |
+
"qkv_bias": true,
|
126 |
+
"torch_dtype": "float32",
|
127 |
+
"transformers_version": "4.41.1"
|
128 |
+
}
|
checkpoint-1436/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b54276558ae6957505749418156887b0100d8e700cb2100d71b75be02c69f484
|
3 |
+
size 343371632
|
checkpoint-1436/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:088339ed8627ece660ea420b664360630893da11cd2b60c5acec22910e7b4c3e
|
3 |
+
size 686863749
|
checkpoint-1436/preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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,
|
19 |
+
"image_mean": [
|
20 |
+
0.5,
|
21 |
+
0.5,
|
22 |
+
0.5
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTImageProcessor",
|
25 |
+
"image_std": [
|
26 |
+
0.5,
|
27 |
+
0.5,
|
28 |
+
0.5
|
29 |
+
],
|
30 |
+
"resample": 2,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 224,
|
34 |
+
"width": 224
|
35 |
+
}
|
36 |
+
}
|
checkpoint-1436/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:862b537723ed3d142f9cfe5f248fd39dff3a1f5889780960162bc02b884dfd55
|
3 |
+
size 14575
|
checkpoint-1436/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1137917215124109c3db5cb96ed2b9973e095b46e4929e8c8832726dc34f68bf
|
3 |
+
size 627
|
checkpoint-1436/trainer_state.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 3.6129050254821777,
|
3 |
+
"best_model_checkpoint": "military_aircraft_image_detection/checkpoint-1436",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1436,
|
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.6963788300835655,
|
13 |
+
"grad_norm": 1.2760124206542969,
|
14 |
+
"learning_rate": 6.753246753246753e-07,
|
15 |
+
"loss": 3.6255,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.2811764705882353,
|
21 |
+
"eval_loss": 3.6337056159973145,
|
22 |
+
"eval_runtime": 434.255,
|
23 |
+
"eval_samples_per_second": 70.466,
|
24 |
+
"eval_steps_per_second": 2.204,
|
25 |
+
"step": 718
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 1.392757660167131,
|
29 |
+
"grad_norm": 1.3499808311462402,
|
30 |
+
"learning_rate": 3.1457431457431457e-07,
|
31 |
+
"loss": 3.5862,
|
32 |
+
"step": 1000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.2931372549019608,
|
37 |
+
"eval_loss": 3.6129050254821777,
|
38 |
+
"eval_runtime": 436.2581,
|
39 |
+
"eval_samples_per_second": 70.142,
|
40 |
+
"eval_steps_per_second": 2.194,
|
41 |
+
"step": 1436
|
42 |
+
}
|
43 |
+
],
|
44 |
+
"logging_steps": 500,
|
45 |
+
"max_steps": 1436,
|
46 |
+
"num_input_tokens_seen": 0,
|
47 |
+
"num_train_epochs": 2,
|
48 |
+
"save_steps": 500,
|
49 |
+
"stateful_callbacks": {
|
50 |
+
"TrainerControl": {
|
51 |
+
"args": {
|
52 |
+
"should_epoch_stop": false,
|
53 |
+
"should_evaluate": false,
|
54 |
+
"should_log": false,
|
55 |
+
"should_save": true,
|
56 |
+
"should_training_stop": true
|
57 |
+
},
|
58 |
+
"attributes": {}
|
59 |
+
}
|
60 |
+
},
|
61 |
+
"total_flos": 7.116825050895974e+18,
|
62 |
+
"train_batch_size": 64,
|
63 |
+
"trial_name": null,
|
64 |
+
"trial_params": null
|
65 |
+
}
|
checkpoint-1436/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:677fb377850527ee2457c1d4ca0a02a35dc245206e01c146226cdedfdcfd6799
|
3 |
+
size 4603
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dima806/military_aircraft_image_detection",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343371632
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b54276558ae6957505749418156887b0100d8e700cb2100d71b75be02c69f484
|
3 |
size 343371632
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4603
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:677fb377850527ee2457c1d4ca0a02a35dc245206e01c146226cdedfdcfd6799
|
3 |
size 4603
|