Upload folder using huggingface_hub
Browse files- checkpoint-1302/config.json +118 -0
- checkpoint-1302/model.safetensors +3 -0
- checkpoint-1302/optimizer.pt +3 -0
- checkpoint-1302/preprocessor_config.json +36 -0
- checkpoint-1302/rng_state.pth +3 -0
- checkpoint-1302/scheduler.pt +3 -0
- checkpoint-1302/trainer_state.json +62 -0
- checkpoint-1302/training_args.bin +3 -0
- model.safetensors +1 -1
- training_args.bin +1 -1
checkpoint-1302/config.json
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/traffic_sign_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": "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-1302/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cea1ed40c74c0524c4b67eadc44805de3ff51e7844fe68baa8a7cb34ab3591ae
|
3 |
+
size 343356252
|
checkpoint-1302/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cac8e118ad6659b749ea03643c79e18669e998b7c348562289aff818aeee5efb
|
3 |
+
size 686833338
|
checkpoint-1302/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-1302/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a20c1d9bbbfe7a71bf906e0b72d10a19cdbff2d92aff23126c2bfc73ed656f60
|
3 |
+
size 14244
|
checkpoint-1302/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1cadb0eec234f43b44ee56d4ca454aeb6b044daca30a6fa9dff09815dabc84cf
|
3 |
+
size 1064
|
checkpoint-1302/trainer_state.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 2.437823534011841,
|
3 |
+
"best_model_checkpoint": "traffic_sign_detection/checkpoint-1302",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1302,
|
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.9154777345438824,
|
14 |
+
"eval_loss": 2.4788408279418945,
|
15 |
+
"eval_runtime": 94.2266,
|
16 |
+
"eval_samples_per_second": 98.189,
|
17 |
+
"eval_steps_per_second": 12.279,
|
18 |
+
"step": 434
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 1.1520737327188941,
|
22 |
+
"grad_norm": 1.8849073648452759,
|
23 |
+
"learning_rate": 3.2028753993610226e-07,
|
24 |
+
"loss": 2.2883,
|
25 |
+
"step": 500
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"eval_accuracy": 0.9212062256809338,
|
30 |
+
"eval_loss": 2.4474833011627197,
|
31 |
+
"eval_runtime": 92.6376,
|
32 |
+
"eval_samples_per_second": 99.873,
|
33 |
+
"eval_steps_per_second": 12.49,
|
34 |
+
"step": 868
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 2.3041474654377883,
|
38 |
+
"grad_norm": 1.7652419805526733,
|
39 |
+
"learning_rate": 1.2060702875399362e-07,
|
40 |
+
"loss": 2.2472,
|
41 |
+
"step": 1000
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"eval_accuracy": 0.9217466493731085,
|
46 |
+
"eval_loss": 2.437823534011841,
|
47 |
+
"eval_runtime": 127.3999,
|
48 |
+
"eval_samples_per_second": 72.622,
|
49 |
+
"eval_steps_per_second": 9.082,
|
50 |
+
"step": 1302
|
51 |
+
}
|
52 |
+
],
|
53 |
+
"logging_steps": 500,
|
54 |
+
"max_steps": 1302,
|
55 |
+
"num_input_tokens_seen": 0,
|
56 |
+
"num_train_epochs": 3,
|
57 |
+
"save_steps": 500,
|
58 |
+
"total_flos": 3.2275448973660856e+18,
|
59 |
+
"train_batch_size": 32,
|
60 |
+
"trial_name": null,
|
61 |
+
"trial_params": null
|
62 |
+
}
|
checkpoint-1302/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e92628c61f8ba7db2c939a24588d94ee65c82e6785199d767cb1a2d783262898
|
3 |
+
size 4920
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343356252
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cea1ed40c74c0524c4b67eadc44805de3ff51e7844fe68baa8a7cb34ab3591ae
|
3 |
size 343356252
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4920
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e92628c61f8ba7db2c939a24588d94ee65c82e6785199d767cb1a2d783262898
|
3 |
size 4920
|