cvetanovskaa
commited on
Commit
•
320e872
1
Parent(s):
556dd00
Upload ViTForImageClassification
Browse files- config.json +114 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./final_model",
|
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": "Speed Limit 20Km/Hr",
|
13 |
+
"1": "Speed Limit 30Km\u2044Hr",
|
14 |
+
"2": "No Passing Of Vehicle Over 3.5Ton",
|
15 |
+
"3": "Crossroads",
|
16 |
+
"4": "Priority Road Sign",
|
17 |
+
"5": "Yield",
|
18 |
+
"6": "Stop",
|
19 |
+
"7": "No Vehicles",
|
20 |
+
"8": "Vehicle Over 3.5Ton Prohibited",
|
21 |
+
"9": "No Entry",
|
22 |
+
"10": "General Caution",
|
23 |
+
"11": "Dangerous Curve To Left",
|
24 |
+
"12": "Speed Limit 50Km\u2044Hr",
|
25 |
+
"13": "Dangerous Curve To Right",
|
26 |
+
"14": "Double Curve",
|
27 |
+
"15": "Bumpy Road",
|
28 |
+
"16": "Slippery Road",
|
29 |
+
"17": "Narrow Road On Right",
|
30 |
+
"18": "Road Work",
|
31 |
+
"19": "Traffic Sign",
|
32 |
+
"20": "Pedestrian",
|
33 |
+
"21": "Children Crossing",
|
34 |
+
"22": "Bicycle Crossing",
|
35 |
+
"23": "Speed Limit 60Km\u2044Hr",
|
36 |
+
"24": "Beware Of Ice/Snow",
|
37 |
+
"25": "Wild Animal Crossing",
|
38 |
+
"26": "End Of All Speed And Passing Limit",
|
39 |
+
"27": "Compulsory Turn Right",
|
40 |
+
"28": "Compulsory Turn Left",
|
41 |
+
"29": "Straight Ahead",
|
42 |
+
"30": "Go Straight Or Right",
|
43 |
+
"31": "Go Straight Or Left",
|
44 |
+
"32": "Avoid Obstacle On Right",
|
45 |
+
"33": "Avoid Obstacle On Left",
|
46 |
+
"34": "Speed Limit 70Km\u2044Hr",
|
47 |
+
"35": "Roundabout",
|
48 |
+
"36": "End Of No Passing",
|
49 |
+
"37": "End Of No Passing By Vehicle Over 3.5Ton",
|
50 |
+
"38": "Speed Limit 80Km\u2044Hr",
|
51 |
+
"39": "End Of Speed Limit 80Km/Hr",
|
52 |
+
"40": "Speed Limit 100Km\u2044Hr",
|
53 |
+
"41": "Speed Limit 120Km\u2044Hr",
|
54 |
+
"42": "No Passing"
|
55 |
+
},
|
56 |
+
"image_size": 224,
|
57 |
+
"initializer_range": 0.02,
|
58 |
+
"intermediate_size": 3072,
|
59 |
+
"label2id": {
|
60 |
+
"Avoid Obstacle On Left": 33,
|
61 |
+
"Avoid Obstacle On Right": 32,
|
62 |
+
"Beware Of Ice/Snow": 24,
|
63 |
+
"Bicycle Crossing": 22,
|
64 |
+
"Bumpy Road": 15,
|
65 |
+
"Children Crossing": 21,
|
66 |
+
"Compulsory Turn Left": 28,
|
67 |
+
"Compulsory Turn Right": 27,
|
68 |
+
"Crossroads": 3,
|
69 |
+
"Dangerous Curve To Left": 11,
|
70 |
+
"Dangerous Curve To Right": 13,
|
71 |
+
"Double Curve": 14,
|
72 |
+
"End Of All Speed And Passing Limit": 26,
|
73 |
+
"End Of No Passing": 36,
|
74 |
+
"End Of No Passing By Vehicle Over 3.5Ton": 37,
|
75 |
+
"End Of Speed Limit 80Km/Hr": 39,
|
76 |
+
"General Caution": 10,
|
77 |
+
"Go Straight Or Left": 31,
|
78 |
+
"Go Straight Or Right": 30,
|
79 |
+
"Narrow Road On Right": 17,
|
80 |
+
"No Entry": 9,
|
81 |
+
"No Passing": 42,
|
82 |
+
"No Passing Of Vehicle Over 3.5Ton": 2,
|
83 |
+
"No Vehicles": 7,
|
84 |
+
"Pedestrian": 20,
|
85 |
+
"Priority Road Sign": 4,
|
86 |
+
"Road Work": 18,
|
87 |
+
"Roundabout": 35,
|
88 |
+
"Slippery Road": 16,
|
89 |
+
"Speed Limit 100Km\u2044Hr": 40,
|
90 |
+
"Speed Limit 120Km\u2044Hr": 41,
|
91 |
+
"Speed Limit 20Km/Hr": 0,
|
92 |
+
"Speed Limit 30Km\u2044Hr": 1,
|
93 |
+
"Speed Limit 50Km\u2044Hr": 12,
|
94 |
+
"Speed Limit 60Km\u2044Hr": 23,
|
95 |
+
"Speed Limit 70Km\u2044Hr": 34,
|
96 |
+
"Speed Limit 80Km\u2044Hr": 38,
|
97 |
+
"Stop": 6,
|
98 |
+
"Straight Ahead": 29,
|
99 |
+
"Traffic Sign": 19,
|
100 |
+
"Vehicle Over 3.5Ton Prohibited": 8,
|
101 |
+
"Wild Animal Crossing": 25,
|
102 |
+
"Yield": 5
|
103 |
+
},
|
104 |
+
"layer_norm_eps": 1e-12,
|
105 |
+
"model_type": "vit",
|
106 |
+
"num_attention_heads": 12,
|
107 |
+
"num_channels": 3,
|
108 |
+
"num_hidden_layers": 12,
|
109 |
+
"patch_size": 16,
|
110 |
+
"problem_type": "single_label_classification",
|
111 |
+
"qkv_bias": true,
|
112 |
+
"torch_dtype": "float32",
|
113 |
+
"transformers_version": "4.35.2"
|
114 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82fb18194ac850022b56e0bb572dfc52a1c814ba2c92dc736f75218b6cc86832
|
3 |
+
size 343350100
|