Upload folder using huggingface_hub
Browse files- checkpoint-2895/config.json +118 -0
- checkpoint-2895/model.safetensors +3 -0
- checkpoint-2895/optimizer.pt +3 -0
- checkpoint-2895/preprocessor_config.json +36 -0
- checkpoint-2895/rng_state.pth +3 -0
- checkpoint-2895/scheduler.pt +3 -0
- checkpoint-2895/trainer_state.json +101 -0
- checkpoint-2895/training_args.bin +3 -0
- config.json +1 -1
- model.safetensors +1 -1
- training_args.bin +1 -1
checkpoint-2895/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-2895/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75e4241cb2b58bcfa6edfff460ac81c35cc1d04a857e9debd62f5ab116e931cd
|
3 |
+
size 343356252
|
checkpoint-2895/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd36b212c7eef0e49af0fef91abb163b7ef804f0583754aadd229c6d8f006ba6
|
3 |
+
size 686833338
|
checkpoint-2895/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-2895/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca0575b7e9c82a9af879f90475f5decb37da0b0873d3bcce645ca96e7ea8e132
|
3 |
+
size 14244
|
checkpoint-2895/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67baff6d99aa95b1b097538917e907fd35f713fb530110b252db58ec92f86cb5
|
3 |
+
size 1064
|
checkpoint-2895/trainer_state.json
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 2.523940324783325,
|
3 |
+
"best_model_checkpoint": "traffic_sign_detection/checkpoint-2895",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2895,
|
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.8635578583765112,
|
13 |
+
"grad_norm": 1.785918951034546,
|
14 |
+
"learning_rate": 8.418277680140598e-07,
|
15 |
+
"loss": 2.6578,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.849978383052313,
|
21 |
+
"eval_loss": 2.7859294414520264,
|
22 |
+
"eval_runtime": 47.349,
|
23 |
+
"eval_samples_per_second": 97.7,
|
24 |
+
"eval_steps_per_second": 12.228,
|
25 |
+
"step": 579
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 1.7271157167530224,
|
29 |
+
"grad_norm": 1.761311411857605,
|
30 |
+
"learning_rate": 6.660808435852372e-07,
|
31 |
+
"loss": 2.5366,
|
32 |
+
"step": 1000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.8769995676610463,
|
37 |
+
"eval_loss": 2.669792413711548,
|
38 |
+
"eval_runtime": 47.4363,
|
39 |
+
"eval_samples_per_second": 97.52,
|
40 |
+
"eval_steps_per_second": 12.206,
|
41 |
+
"step": 1158
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 2.5906735751295336,
|
45 |
+
"grad_norm": 1.8694429397583008,
|
46 |
+
"learning_rate": 4.903339191564148e-07,
|
47 |
+
"loss": 2.4436,
|
48 |
+
"step": 1500
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.9005620406398617,
|
53 |
+
"eval_loss": 2.5879104137420654,
|
54 |
+
"eval_runtime": 47.3175,
|
55 |
+
"eval_samples_per_second": 97.765,
|
56 |
+
"eval_steps_per_second": 12.236,
|
57 |
+
"step": 1737
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 3.454231433506045,
|
61 |
+
"grad_norm": 1.893329381942749,
|
62 |
+
"learning_rate": 3.1458699472759226e-07,
|
63 |
+
"loss": 2.3753,
|
64 |
+
"step": 2000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.0,
|
68 |
+
"eval_accuracy": 0.9051015996541288,
|
69 |
+
"eval_loss": 2.5401721000671387,
|
70 |
+
"eval_runtime": 48.1616,
|
71 |
+
"eval_samples_per_second": 96.052,
|
72 |
+
"eval_steps_per_second": 12.022,
|
73 |
+
"step": 2316
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 4.317789291882556,
|
77 |
+
"grad_norm": 1.803151249885559,
|
78 |
+
"learning_rate": 1.3884007029876976e-07,
|
79 |
+
"loss": 2.3365,
|
80 |
+
"step": 2500
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 5.0,
|
84 |
+
"eval_accuracy": 0.9055339386078686,
|
85 |
+
"eval_loss": 2.523940324783325,
|
86 |
+
"eval_runtime": 47.5865,
|
87 |
+
"eval_samples_per_second": 97.212,
|
88 |
+
"eval_steps_per_second": 12.167,
|
89 |
+
"step": 2895
|
90 |
+
}
|
91 |
+
],
|
92 |
+
"logging_steps": 500,
|
93 |
+
"max_steps": 2895,
|
94 |
+
"num_input_tokens_seen": 0,
|
95 |
+
"num_train_epochs": 5,
|
96 |
+
"save_steps": 500,
|
97 |
+
"total_flos": 7.172321994146857e+18,
|
98 |
+
"train_batch_size": 32,
|
99 |
+
"trial_name": null,
|
100 |
+
"trial_params": null
|
101 |
+
}
|
checkpoint-2895/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5114471d5cab7938c1227fd3d6eee0294b100b9097ce4cc96d915e7722bad73d
|
3 |
+
size 4920
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dima806/traffic_sign_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 343356252
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75e4241cb2b58bcfa6edfff460ac81c35cc1d04a857e9debd62f5ab116e931cd
|
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:5114471d5cab7938c1227fd3d6eee0294b100b9097ce4cc96d915e7722bad73d
|
3 |
size 4920
|