MNCH1 commited on
Commit
f39bf2c
1 Parent(s): 24106c5

Upload folder using huggingface_hub

Browse files
checkpoint-666/config.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "National Speed Limit",
34
+ "22": "No Car",
35
+ "23": "No Uturn",
36
+ "24": "No entry",
37
+ "25": "No horn",
38
+ "26": "No stopping",
39
+ "27": "Road Divider",
40
+ "28": "Roundabout mandatory",
41
+ "29": "Speed limit (15km/h)",
42
+ "30": "Speed limit (30km/h)",
43
+ "31": "Speed limit (40km/h)",
44
+ "32": "Speed limit (50km/h)",
45
+ "33": "Speed limit (5km/h)",
46
+ "34": "Speed limit (60km/h)",
47
+ "35": "Speed limit (70km/h)",
48
+ "36": "Train Crossing",
49
+ "37": "Under Construction",
50
+ "38": "Unknown",
51
+ "39": "Uturn",
52
+ "40": "Zebra Crossing",
53
+ "41": "ZigZag Curve",
54
+ "42": "keep Left",
55
+ "43": "keep Right",
56
+ "44": "speed limit (80km/h)",
57
+ "45": "watch out for cars"
58
+ },
59
+ "image_size": 224,
60
+ "initializer_range": 0.02,
61
+ "intermediate_size": 3072,
62
+ "label2id": {
63
+ "Bicycles crossing": 0,
64
+ "Children crossing": 1,
65
+ "Danger Ahead": 2,
66
+ "Dangerous curve to the left": 3,
67
+ "Dangerous curve to the right": 4,
68
+ "Dont Go Left": 5,
69
+ "Dont Go Left or Right": 6,
70
+ "Dont Go Right": 7,
71
+ "Dont Go straight": 8,
72
+ "Dont Go straight or left": 9,
73
+ "Dont overtake from Left": 10,
74
+ "Fences": 11,
75
+ "Go Left": 12,
76
+ "Go Left or right": 13,
77
+ "Go Right": 14,
78
+ "Go left or straight": 15,
79
+ "Go right or straight": 16,
80
+ "Go straight": 17,
81
+ "Go straight or right": 18,
82
+ "Heavy Vehicle Accidents": 19,
83
+ "Horn": 20,
84
+ "National Speed Limit": 21,
85
+ "No Car": 22,
86
+ "No Uturn": 23,
87
+ "No entry": 24,
88
+ "No horn": 25,
89
+ "No stopping": 26,
90
+ "Road Divider": 27,
91
+ "Roundabout mandatory": 28,
92
+ "Speed limit (15km/h)": 29,
93
+ "Speed limit (30km/h)": 30,
94
+ "Speed limit (40km/h)": 31,
95
+ "Speed limit (50km/h)": 32,
96
+ "Speed limit (5km/h)": 33,
97
+ "Speed limit (60km/h)": 34,
98
+ "Speed limit (70km/h)": 35,
99
+ "Train Crossing": 36,
100
+ "Under Construction": 37,
101
+ "Unknown": 38,
102
+ "Uturn": 39,
103
+ "Zebra Crossing": 40,
104
+ "ZigZag Curve": 41,
105
+ "keep Left": 42,
106
+ "keep Right": 43,
107
+ "speed limit (80km/h)": 44,
108
+ "watch out for cars": 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.42.4"
120
+ }
checkpoint-666/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5053b283f44f3acac6677c481b35ff05e34138f077b733812f4b28174011abfe
3
+ size 343359328
checkpoint-666/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:783f2fe5fc268ec9f165297d6ee05b8d3a6cda54298e3391185049810a006c38
3
+ size 686839482
checkpoint-666/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-666/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7220d8b1e6a573ba80f932c5baea5f85f04033308e62d10ff50e92b5008d2bfe
3
+ size 14244
checkpoint-666/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59e885ee55c07a7fe867307845fe115aa6c2ae9eb5238d53fa85144d8985615b
3
+ size 1064
checkpoint-666/trainer_state.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 3.8164165019989014,
3
+ "best_model_checkpoint": "traffic_sign_detection2/checkpoint-666",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 666,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.020934658490167055,
14
+ "eval_loss": 3.8257269859313965,
15
+ "eval_runtime": 107.6114,
16
+ "eval_samples_per_second": 87.89,
17
+ "eval_steps_per_second": 5.501,
18
+ "step": 222
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.023472192852611547,
23
+ "eval_loss": 3.8189127445220947,
24
+ "eval_runtime": 107.6132,
25
+ "eval_samples_per_second": 87.889,
26
+ "eval_steps_per_second": 5.501,
27
+ "step": 444
28
+ },
29
+ {
30
+ "epoch": 2.2522522522522523,
31
+ "grad_norm": 0.9404935240745544,
32
+ "learning_rate": 1.3474025974025975e-07,
33
+ "loss": 3.8118,
34
+ "step": 500
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.023895115246352294,
39
+ "eval_loss": 3.8164165019989014,
40
+ "eval_runtime": 108.0221,
41
+ "eval_samples_per_second": 87.556,
42
+ "eval_steps_per_second": 5.48,
43
+ "step": 666
44
+ }
45
+ ],
46
+ "logging_steps": 500,
47
+ "max_steps": 666,
48
+ "num_input_tokens_seen": 0,
49
+ "num_train_epochs": 3,
50
+ "save_steps": 500,
51
+ "stateful_callbacks": {
52
+ "TrainerControl": {
53
+ "args": {
54
+ "should_epoch_stop": false,
55
+ "should_evaluate": false,
56
+ "should_log": false,
57
+ "should_save": true,
58
+ "should_training_stop": true
59
+ },
60
+ "attributes": {}
61
+ }
62
+ },
63
+ "total_flos": 3.2992046491532083e+18,
64
+ "train_batch_size": 64,
65
+ "trial_name": null,
66
+ "trial_params": null
67
+ }
checkpoint-666/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:360a05fb92a03748e77bbf4705e57524db0afdec66363da825e44b2f050f7aca
3
+ size 5048
config.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "National Speed Limit",
34
+ "22": "No Car",
35
+ "23": "No Uturn",
36
+ "24": "No entry",
37
+ "25": "No horn",
38
+ "26": "No stopping",
39
+ "27": "Road Divider",
40
+ "28": "Roundabout mandatory",
41
+ "29": "Speed limit (15km/h)",
42
+ "30": "Speed limit (30km/h)",
43
+ "31": "Speed limit (40km/h)",
44
+ "32": "Speed limit (50km/h)",
45
+ "33": "Speed limit (5km/h)",
46
+ "34": "Speed limit (60km/h)",
47
+ "35": "Speed limit (70km/h)",
48
+ "36": "Train Crossing",
49
+ "37": "Under Construction",
50
+ "38": "Unknown",
51
+ "39": "Uturn",
52
+ "40": "Zebra Crossing",
53
+ "41": "ZigZag Curve",
54
+ "42": "keep Left",
55
+ "43": "keep Right",
56
+ "44": "speed limit (80km/h)",
57
+ "45": "watch out for cars"
58
+ },
59
+ "image_size": 224,
60
+ "initializer_range": 0.02,
61
+ "intermediate_size": 3072,
62
+ "label2id": {
63
+ "Bicycles crossing": 0,
64
+ "Children crossing": 1,
65
+ "Danger Ahead": 2,
66
+ "Dangerous curve to the left": 3,
67
+ "Dangerous curve to the right": 4,
68
+ "Dont Go Left": 5,
69
+ "Dont Go Left or Right": 6,
70
+ "Dont Go Right": 7,
71
+ "Dont Go straight": 8,
72
+ "Dont Go straight or left": 9,
73
+ "Dont overtake from Left": 10,
74
+ "Fences": 11,
75
+ "Go Left": 12,
76
+ "Go Left or right": 13,
77
+ "Go Right": 14,
78
+ "Go left or straight": 15,
79
+ "Go right or straight": 16,
80
+ "Go straight": 17,
81
+ "Go straight or right": 18,
82
+ "Heavy Vehicle Accidents": 19,
83
+ "Horn": 20,
84
+ "National Speed Limit": 21,
85
+ "No Car": 22,
86
+ "No Uturn": 23,
87
+ "No entry": 24,
88
+ "No horn": 25,
89
+ "No stopping": 26,
90
+ "Road Divider": 27,
91
+ "Roundabout mandatory": 28,
92
+ "Speed limit (15km/h)": 29,
93
+ "Speed limit (30km/h)": 30,
94
+ "Speed limit (40km/h)": 31,
95
+ "Speed limit (50km/h)": 32,
96
+ "Speed limit (5km/h)": 33,
97
+ "Speed limit (60km/h)": 34,
98
+ "Speed limit (70km/h)": 35,
99
+ "Train Crossing": 36,
100
+ "Under Construction": 37,
101
+ "Unknown": 38,
102
+ "Uturn": 39,
103
+ "Zebra Crossing": 40,
104
+ "ZigZag Curve": 41,
105
+ "keep Left": 42,
106
+ "keep Right": 43,
107
+ "speed limit (80km/h)": 44,
108
+ "watch out for cars": 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.42.4"
120
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5053b283f44f3acac6677c481b35ff05e34138f077b733812f4b28174011abfe
3
+ size 343359328
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:360a05fb92a03748e77bbf4705e57524db0afdec66363da825e44b2f050f7aca
3
+ size 5048