dima806 commited on
Commit
b649f4c
1 Parent(s): f7c9bc7

Upload folder using huggingface_hub

Browse files
checkpoint-2840/config.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "J10",
36
+ "24": "J20",
37
+ "25": "JAS39",
38
+ "26": "KC135",
39
+ "27": "MQ9",
40
+ "28": "Mig31",
41
+ "29": "Mirage2000",
42
+ "30": "P3",
43
+ "31": "RQ4",
44
+ "32": "Rafale",
45
+ "33": "SR71",
46
+ "34": "Su25",
47
+ "35": "Su34",
48
+ "36": "Su57",
49
+ "37": "Tornado",
50
+ "38": "Tu160",
51
+ "39": "Tu95",
52
+ "40": "U2",
53
+ "41": "US2",
54
+ "42": "V22",
55
+ "43": "Vulcan",
56
+ "44": "XB70",
57
+ "45": "YF23"
58
+ },
59
+ "image_size": 224,
60
+ "initializer_range": 0.02,
61
+ "intermediate_size": 3072,
62
+ "label2id": {
63
+ "A10": 0,
64
+ "A400M": 1,
65
+ "AG600": 2,
66
+ "AV8B": 3,
67
+ "B1": 4,
68
+ "B2": 5,
69
+ "B52": 6,
70
+ "Be200": 7,
71
+ "C130": 8,
72
+ "C17": 9,
73
+ "C2": 10,
74
+ "C5": 11,
75
+ "E2": 12,
76
+ "E7": 13,
77
+ "EF2000": 14,
78
+ "F117": 15,
79
+ "F14": 16,
80
+ "F15": 17,
81
+ "F16": 18,
82
+ "F18": 19,
83
+ "F22": 20,
84
+ "F35": 21,
85
+ "F4": 22,
86
+ "J10": 23,
87
+ "J20": 24,
88
+ "JAS39": 25,
89
+ "KC135": 26,
90
+ "MQ9": 27,
91
+ "Mig31": 28,
92
+ "Mirage2000": 29,
93
+ "P3": 30,
94
+ "RQ4": 31,
95
+ "Rafale": 32,
96
+ "SR71": 33,
97
+ "Su25": 34,
98
+ "Su34": 35,
99
+ "Su57": 36,
100
+ "Tornado": 37,
101
+ "Tu160": 38,
102
+ "Tu95": 39,
103
+ "U2": 40,
104
+ "US2": 41,
105
+ "V22": 42,
106
+ "Vulcan": 43,
107
+ "XB70": 44,
108
+ "YF23": 45
109
+ },
110
+ "layer_norm_eps": 1e-12,
111
+ "model_type": "vit",
112
+ "num_attention_heads": 12,
113
+ "num_channels": 3,
114
+ "num_hidden_layers": 12,
115
+ "patch_size": 16,
116
+ "problem_type": "single_label_classification",
117
+ "qkv_bias": true,
118
+ "torch_dtype": "float32",
119
+ "transformers_version": "4.35.2"
120
+ }
checkpoint-2840/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae9bdf69cd5f4d9950252d2942b09faef0673d80529bcdc09236b50c5882ccda
3
+ size 343359328
checkpoint-2840/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9dce649b384788e157b2fb1fbddbe208b2fb333af03f779b8855570cb7abf7f
3
+ size 686839045
checkpoint-2840/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": "ViTImageProcessor",
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
+ }
checkpoint-2840/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:481e5cfd28dc9fabd1eba2c5ea1687cdcb87e572ee1755287d3ad91d0d022a84
3
+ size 14575
checkpoint-2840/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c88fe7f896323927b0ccfc6dab16b8d447aa2d6542ff4dee91f859c4dd875cc5
3
+ size 627
checkpoint-2840/trainer_state.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.5251035690307617,
3
+ "best_model_checkpoint": "military_aircraft_image_detection/checkpoint-2840",
4
+ "epoch": 4.0,
5
+ "eval_steps": 500,
6
+ "global_step": 2840,
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.7,
13
+ "learning_rate": 2.5161290322580645e-06,
14
+ "loss": 2.6445,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 1.0,
19
+ "eval_accuracy": 0.5791420769840571,
20
+ "eval_loss": 2.7217254638671875,
21
+ "eval_runtime": 163.6021,
22
+ "eval_samples_per_second": 69.394,
23
+ "eval_steps_per_second": 2.17,
24
+ "step": 710
25
+ },
26
+ {
27
+ "epoch": 1.41,
28
+ "learning_rate": 1.9784946236559142e-06,
29
+ "loss": 2.5168,
30
+ "step": 1000
31
+ },
32
+ {
33
+ "epoch": 2.0,
34
+ "eval_accuracy": 0.5891834757332863,
35
+ "eval_loss": 2.6114697456359863,
36
+ "eval_runtime": 166.1237,
37
+ "eval_samples_per_second": 68.341,
38
+ "eval_steps_per_second": 2.137,
39
+ "step": 1420
40
+ },
41
+ {
42
+ "epoch": 2.11,
43
+ "learning_rate": 1.4408602150537633e-06,
44
+ "loss": 2.423,
45
+ "step": 1500
46
+ },
47
+ {
48
+ "epoch": 2.82,
49
+ "learning_rate": 9.03225806451613e-07,
50
+ "loss": 2.3492,
51
+ "step": 2000
52
+ },
53
+ {
54
+ "epoch": 3.0,
55
+ "eval_accuracy": 0.610059015238263,
56
+ "eval_loss": 2.5431132316589355,
57
+ "eval_runtime": 168.2136,
58
+ "eval_samples_per_second": 67.492,
59
+ "eval_steps_per_second": 2.11,
60
+ "step": 2130
61
+ },
62
+ {
63
+ "epoch": 3.52,
64
+ "learning_rate": 3.6559139784946236e-07,
65
+ "loss": 2.3159,
66
+ "step": 2500
67
+ },
68
+ {
69
+ "epoch": 4.0,
70
+ "eval_accuracy": 0.6082092838897207,
71
+ "eval_loss": 2.5251035690307617,
72
+ "eval_runtime": 173.5604,
73
+ "eval_samples_per_second": 65.412,
74
+ "eval_steps_per_second": 2.045,
75
+ "step": 2840
76
+ }
77
+ ],
78
+ "logging_steps": 500,
79
+ "max_steps": 2840,
80
+ "num_train_epochs": 4,
81
+ "save_steps": 500,
82
+ "total_flos": 1.4081505928163574e+19,
83
+ "trial_name": null,
84
+ "trial_params": null
85
+ }
checkpoint-2840/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:451229cdc097632ab00a8a310a05ff1b2acbb684b95f5a82b63b75a5c5d55cbd
3
+ size 4091
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
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:1af40e536dabba4cf68373b0410d69fec7dd2df706bed255aeaf09c1d51ad4b8
3
  size 343359328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae9bdf69cd5f4d9950252d2942b09faef0673d80529bcdc09236b50c5882ccda
3
  size 343359328
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:898d0f338366e9ae5f4d60a230a21fcaa8cad01ad15478ca4c3fc1e36588fdf7
3
  size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:451229cdc097632ab00a8a310a05ff1b2acbb684b95f5a82b63b75a5c5d55cbd
3
  size 4091