dima806 commited on
Commit
d72f9ae
·
verified ·
1 Parent(s): 3654e8f

Upload folder using huggingface_hub

Browse files
checkpoint-3255/config.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Bicycles crossing",
13
+ "1": "Children crossing",
14
+ "2": "Danger Ahead",
15
+ "3": "Dangerous curve to the left",
16
+ "4": "Dangerous curve to the right",
17
+ "5": "Dont Go Left",
18
+ "6": "Dont Go Left or Right",
19
+ "7": "Dont Go Right",
20
+ "8": "Dont Go straight",
21
+ "9": "Dont Go straight or left",
22
+ "10": "Dont overtake from Left",
23
+ "11": "Fences",
24
+ "12": "Go Left",
25
+ "13": "Go Left or right",
26
+ "14": "Go Right",
27
+ "15": "Go left or straight",
28
+ "16": "Go right or straight",
29
+ "17": "Go straight",
30
+ "18": "Go straight or right",
31
+ "19": "Heavy Vehicle Accidents",
32
+ "20": "Horn",
33
+ "21": "No Car",
34
+ "22": "No Uturn",
35
+ "23": "No entry",
36
+ "24": "No horn",
37
+ "25": "No stopping",
38
+ "26": "Road Divider",
39
+ "27": "Roundabout mandatory",
40
+ "28": "Speed limit (15km/h)",
41
+ "29": "Speed limit (30km/h)",
42
+ "30": "Speed limit (40km/h)",
43
+ "31": "Speed limit (50km/h)",
44
+ "32": "Speed limit (5km/h)",
45
+ "33": "Speed limit (60km/h)",
46
+ "34": "Speed limit (70km/h)",
47
+ "35": "Train Crossing",
48
+ "36": "Under Construction",
49
+ "37": "Unknown",
50
+ "38": "Uturn",
51
+ "39": "Zebra Crossing",
52
+ "40": "ZigZag Curve",
53
+ "41": "keep Left",
54
+ "42": "keep Right",
55
+ "43": "speed limit (80km/h)",
56
+ "44": "watch out for cars"
57
+ },
58
+ "image_size": 224,
59
+ "initializer_range": 0.02,
60
+ "intermediate_size": 3072,
61
+ "label2id": {
62
+ "Bicycles crossing": 0,
63
+ "Children crossing": 1,
64
+ "Danger Ahead": 2,
65
+ "Dangerous curve to the left": 3,
66
+ "Dangerous curve to the right": 4,
67
+ "Dont Go Left": 5,
68
+ "Dont Go Left or Right": 6,
69
+ "Dont Go Right": 7,
70
+ "Dont Go straight": 8,
71
+ "Dont Go straight or left": 9,
72
+ "Dont overtake from Left": 10,
73
+ "Fences": 11,
74
+ "Go Left": 12,
75
+ "Go Left or right": 13,
76
+ "Go Right": 14,
77
+ "Go left or straight": 15,
78
+ "Go right or straight": 16,
79
+ "Go straight": 17,
80
+ "Go straight or right": 18,
81
+ "Heavy Vehicle Accidents": 19,
82
+ "Horn": 20,
83
+ "No Car": 21,
84
+ "No Uturn": 22,
85
+ "No entry": 23,
86
+ "No horn": 24,
87
+ "No stopping": 25,
88
+ "Road Divider": 26,
89
+ "Roundabout mandatory": 27,
90
+ "Speed limit (15km/h)": 28,
91
+ "Speed limit (30km/h)": 29,
92
+ "Speed limit (40km/h)": 30,
93
+ "Speed limit (50km/h)": 31,
94
+ "Speed limit (5km/h)": 32,
95
+ "Speed limit (60km/h)": 33,
96
+ "Speed limit (70km/h)": 34,
97
+ "Train Crossing": 35,
98
+ "Under Construction": 36,
99
+ "Unknown": 37,
100
+ "Uturn": 38,
101
+ "Zebra Crossing": 39,
102
+ "ZigZag Curve": 40,
103
+ "keep Left": 41,
104
+ "keep Right": 42,
105
+ "speed limit (80km/h)": 43,
106
+ "watch out for cars": 44
107
+ },
108
+ "layer_norm_eps": 1e-12,
109
+ "model_type": "vit",
110
+ "num_attention_heads": 12,
111
+ "num_channels": 3,
112
+ "num_hidden_layers": 12,
113
+ "patch_size": 16,
114
+ "problem_type": "single_label_classification",
115
+ "qkv_bias": true,
116
+ "torch_dtype": "float32",
117
+ "transformers_version": "4.40.0"
118
+ }
checkpoint-3255/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c6158ae5c60a87f9aa16253333d27237f1d8886e95631d27cad58211ae22bb0
3
+ size 343356252
checkpoint-3255/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb5240159576dff09c7040f402e6fd6bf0508d08bf852764dc3e37e2da30eb0d
3
+ size 686833338
checkpoint-3255/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-3255/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ee7997873e501902725a2b1953558ebdd01ed1c84958f5be10062cd5afe17c8
3
+ size 14244
checkpoint-3255/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d6e6af4429a7348b95d8a55006461f7cb036ebc4b3a2c1a94a1b59dba0dc0ee
3
+ size 1064
checkpoint-3255/trainer_state.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.9360151290893555,
3
+ "best_model_checkpoint": "traffic_sign_detection/checkpoint-3255",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3255,
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.7680491551459293,
13
+ "grad_norm": 1.5009950399398804,
14
+ "learning_rate": 1.7191887675507019e-06,
15
+ "loss": 3.6834,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.3687851275399914,
21
+ "eval_loss": 3.585068702697754,
22
+ "eval_runtime": 23.4653,
23
+ "eval_samples_per_second": 98.571,
24
+ "eval_steps_per_second": 12.359,
25
+ "step": 651
26
+ },
27
+ {
28
+ "epoch": 1.5360983102918588,
29
+ "grad_norm": 1.6353492736816406,
30
+ "learning_rate": 1.4071762870514821e-06,
31
+ "loss": 3.3809,
32
+ "step": 1000
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.6502377864245569,
37
+ "eval_loss": 3.3017969131469727,
38
+ "eval_runtime": 23.2776,
39
+ "eval_samples_per_second": 99.366,
40
+ "eval_steps_per_second": 12.458,
41
+ "step": 1302
42
+ },
43
+ {
44
+ "epoch": 2.3041474654377883,
45
+ "grad_norm": 1.6631314754486084,
46
+ "learning_rate": 1.0951638065522622e-06,
47
+ "loss": 3.1341,
48
+ "step": 1500
49
+ },
50
+ {
51
+ "epoch": 3.0,
52
+ "eval_accuracy": 0.7423259835711198,
53
+ "eval_loss": 3.092193365097046,
54
+ "eval_runtime": 23.2504,
55
+ "eval_samples_per_second": 99.482,
56
+ "eval_steps_per_second": 12.473,
57
+ "step": 1953
58
+ },
59
+ {
60
+ "epoch": 3.0721966205837172,
61
+ "grad_norm": 1.7302379608154297,
62
+ "learning_rate": 7.831513260530422e-07,
63
+ "loss": 2.9474,
64
+ "step": 2000
65
+ },
66
+ {
67
+ "epoch": 3.8402457757296466,
68
+ "grad_norm": 1.7401925325393677,
69
+ "learning_rate": 4.7113884555382213e-07,
70
+ "loss": 2.825,
71
+ "step": 2500
72
+ },
73
+ {
74
+ "epoch": 4.0,
75
+ "eval_accuracy": 0.7851275399913532,
76
+ "eval_loss": 2.9739248752593994,
77
+ "eval_runtime": 23.2681,
78
+ "eval_samples_per_second": 99.407,
79
+ "eval_steps_per_second": 12.463,
80
+ "step": 2604
81
+ },
82
+ {
83
+ "epoch": 4.6082949308755765,
84
+ "grad_norm": 1.737073540687561,
85
+ "learning_rate": 1.5912636505460217e-07,
86
+ "loss": 2.7523,
87
+ "step": 3000
88
+ },
89
+ {
90
+ "epoch": 5.0,
91
+ "eval_accuracy": 0.7980977086035452,
92
+ "eval_loss": 2.9360151290893555,
93
+ "eval_runtime": 23.295,
94
+ "eval_samples_per_second": 99.292,
95
+ "eval_steps_per_second": 12.449,
96
+ "step": 3255
97
+ }
98
+ ],
99
+ "logging_steps": 500,
100
+ "max_steps": 3255,
101
+ "num_input_tokens_seen": 0,
102
+ "num_train_epochs": 5,
103
+ "save_steps": 500,
104
+ "total_flos": 8.068862243415214e+18,
105
+ "train_batch_size": 32,
106
+ "trial_name": null,
107
+ "trial_params": null
108
+ }
checkpoint-3255/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f46aafcac3d94ff9c5bf6bf215e8bf019ae0e0cc0c23aae101c4fdb5d4ca7cec
3
+ size 4920
config.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Bicycles crossing",
13
+ "1": "Children crossing",
14
+ "2": "Danger Ahead",
15
+ "3": "Dangerous curve to the left",
16
+ "4": "Dangerous curve to the right",
17
+ "5": "Dont Go Left",
18
+ "6": "Dont Go Left or Right",
19
+ "7": "Dont Go Right",
20
+ "8": "Dont Go straight",
21
+ "9": "Dont Go straight or left",
22
+ "10": "Dont overtake from Left",
23
+ "11": "Fences",
24
+ "12": "Go Left",
25
+ "13": "Go Left or right",
26
+ "14": "Go Right",
27
+ "15": "Go left or straight",
28
+ "16": "Go right or straight",
29
+ "17": "Go straight",
30
+ "18": "Go straight or right",
31
+ "19": "Heavy Vehicle Accidents",
32
+ "20": "Horn",
33
+ "21": "No Car",
34
+ "22": "No Uturn",
35
+ "23": "No entry",
36
+ "24": "No horn",
37
+ "25": "No stopping",
38
+ "26": "Road Divider",
39
+ "27": "Roundabout mandatory",
40
+ "28": "Speed limit (15km/h)",
41
+ "29": "Speed limit (30km/h)",
42
+ "30": "Speed limit (40km/h)",
43
+ "31": "Speed limit (50km/h)",
44
+ "32": "Speed limit (5km/h)",
45
+ "33": "Speed limit (60km/h)",
46
+ "34": "Speed limit (70km/h)",
47
+ "35": "Train Crossing",
48
+ "36": "Under Construction",
49
+ "37": "Unknown",
50
+ "38": "Uturn",
51
+ "39": "Zebra Crossing",
52
+ "40": "ZigZag Curve",
53
+ "41": "keep Left",
54
+ "42": "keep Right",
55
+ "43": "speed limit (80km/h)",
56
+ "44": "watch out for cars"
57
+ },
58
+ "image_size": 224,
59
+ "initializer_range": 0.02,
60
+ "intermediate_size": 3072,
61
+ "label2id": {
62
+ "Bicycles crossing": 0,
63
+ "Children crossing": 1,
64
+ "Danger Ahead": 2,
65
+ "Dangerous curve to the left": 3,
66
+ "Dangerous curve to the right": 4,
67
+ "Dont Go Left": 5,
68
+ "Dont Go Left or Right": 6,
69
+ "Dont Go Right": 7,
70
+ "Dont Go straight": 8,
71
+ "Dont Go straight or left": 9,
72
+ "Dont overtake from Left": 10,
73
+ "Fences": 11,
74
+ "Go Left": 12,
75
+ "Go Left or right": 13,
76
+ "Go Right": 14,
77
+ "Go left or straight": 15,
78
+ "Go right or straight": 16,
79
+ "Go straight": 17,
80
+ "Go straight or right": 18,
81
+ "Heavy Vehicle Accidents": 19,
82
+ "Horn": 20,
83
+ "No Car": 21,
84
+ "No Uturn": 22,
85
+ "No entry": 23,
86
+ "No horn": 24,
87
+ "No stopping": 25,
88
+ "Road Divider": 26,
89
+ "Roundabout mandatory": 27,
90
+ "Speed limit (15km/h)": 28,
91
+ "Speed limit (30km/h)": 29,
92
+ "Speed limit (40km/h)": 30,
93
+ "Speed limit (50km/h)": 31,
94
+ "Speed limit (5km/h)": 32,
95
+ "Speed limit (60km/h)": 33,
96
+ "Speed limit (70km/h)": 34,
97
+ "Train Crossing": 35,
98
+ "Under Construction": 36,
99
+ "Unknown": 37,
100
+ "Uturn": 38,
101
+ "Zebra Crossing": 39,
102
+ "ZigZag Curve": 40,
103
+ "keep Left": 41,
104
+ "keep Right": 42,
105
+ "speed limit (80km/h)": 43,
106
+ "watch out for cars": 44
107
+ },
108
+ "layer_norm_eps": 1e-12,
109
+ "model_type": "vit",
110
+ "num_attention_heads": 12,
111
+ "num_channels": 3,
112
+ "num_hidden_layers": 12,
113
+ "patch_size": 16,
114
+ "problem_type": "single_label_classification",
115
+ "qkv_bias": true,
116
+ "torch_dtype": "float32",
117
+ "transformers_version": "4.40.0"
118
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c6158ae5c60a87f9aa16253333d27237f1d8886e95631d27cad58211ae22bb0
3
+ size 343356252
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f46aafcac3d94ff9c5bf6bf215e8bf019ae0e0cc0c23aae101c4fdb5d4ca7cec
3
+ size 4920