Commit
·
dc3ee0c
1
Parent(s):
f3b585c
Upload 3 files
Browse files- config.json +142 -0
- onnx/model.onnx +3 -0
- preprocessor_config.json +25 -0
config.json
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "karming-wan/card-tiny-ob",
|
3 |
+
"architectures": [
|
4 |
+
"YolosForObjectDetection"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"auxiliary_loss": false,
|
8 |
+
"bbox_cost": 5,
|
9 |
+
"bbox_loss_coefficient": 5,
|
10 |
+
"class_cost": 1,
|
11 |
+
"eos_coefficient": 0.1,
|
12 |
+
"giou_cost": 2,
|
13 |
+
"giou_loss_coefficient": 2,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_dropout_prob": 0.0,
|
16 |
+
"hidden_size": 192,
|
17 |
+
"id2label": {
|
18 |
+
"0": "10c",
|
19 |
+
"1": "10d",
|
20 |
+
"2": "10h",
|
21 |
+
"3": "10s",
|
22 |
+
"4": "2c",
|
23 |
+
"5": "2d",
|
24 |
+
"6": "2h",
|
25 |
+
"7": "2s",
|
26 |
+
"8": "3c",
|
27 |
+
"9": "3d",
|
28 |
+
"10": "3h",
|
29 |
+
"11": "3s",
|
30 |
+
"12": "4c",
|
31 |
+
"13": "4d",
|
32 |
+
"14": "4h",
|
33 |
+
"15": "4s",
|
34 |
+
"16": "5c",
|
35 |
+
"17": "5d",
|
36 |
+
"18": "5h",
|
37 |
+
"19": "5s",
|
38 |
+
"20": "6c",
|
39 |
+
"21": "6d",
|
40 |
+
"22": "6h",
|
41 |
+
"23": "6s",
|
42 |
+
"24": "7c",
|
43 |
+
"25": "7d",
|
44 |
+
"26": "7h",
|
45 |
+
"27": "7s",
|
46 |
+
"28": "8c",
|
47 |
+
"29": "8d",
|
48 |
+
"30": "8h",
|
49 |
+
"31": "8s",
|
50 |
+
"32": "9c",
|
51 |
+
"33": "9d",
|
52 |
+
"34": "9h",
|
53 |
+
"35": "9s",
|
54 |
+
"36": "Ac",
|
55 |
+
"37": "Ad",
|
56 |
+
"38": "Ah",
|
57 |
+
"39": "As",
|
58 |
+
"40": "Jc",
|
59 |
+
"41": "Jd",
|
60 |
+
"42": "Jh",
|
61 |
+
"43": "Js",
|
62 |
+
"44": "Kc",
|
63 |
+
"45": "Kd",
|
64 |
+
"46": "Kh",
|
65 |
+
"47": "Ks",
|
66 |
+
"48": "Qc",
|
67 |
+
"49": "Qd",
|
68 |
+
"50": "Qh",
|
69 |
+
"51": "Qs"
|
70 |
+
},
|
71 |
+
"image_size": [
|
72 |
+
800,
|
73 |
+
1333
|
74 |
+
],
|
75 |
+
"initializer_range": 0.02,
|
76 |
+
"intermediate_size": 768,
|
77 |
+
"label2id": {
|
78 |
+
"10c": 0,
|
79 |
+
"10d": 1,
|
80 |
+
"10h": 2,
|
81 |
+
"10s": 3,
|
82 |
+
"2c": 4,
|
83 |
+
"2d": 5,
|
84 |
+
"2h": 6,
|
85 |
+
"2s": 7,
|
86 |
+
"3c": 8,
|
87 |
+
"3d": 9,
|
88 |
+
"3h": 10,
|
89 |
+
"3s": 11,
|
90 |
+
"4c": 12,
|
91 |
+
"4d": 13,
|
92 |
+
"4h": 14,
|
93 |
+
"4s": 15,
|
94 |
+
"5c": 16,
|
95 |
+
"5d": 17,
|
96 |
+
"5h": 18,
|
97 |
+
"5s": 19,
|
98 |
+
"6c": 20,
|
99 |
+
"6d": 21,
|
100 |
+
"6h": 22,
|
101 |
+
"6s": 23,
|
102 |
+
"7c": 24,
|
103 |
+
"7d": 25,
|
104 |
+
"7h": 26,
|
105 |
+
"7s": 27,
|
106 |
+
"8c": 28,
|
107 |
+
"8d": 29,
|
108 |
+
"8h": 30,
|
109 |
+
"8s": 31,
|
110 |
+
"9c": 32,
|
111 |
+
"9d": 33,
|
112 |
+
"9h": 34,
|
113 |
+
"9s": 35,
|
114 |
+
"Ac": 36,
|
115 |
+
"Ad": 37,
|
116 |
+
"Ah": 38,
|
117 |
+
"As": 39,
|
118 |
+
"Jc": 40,
|
119 |
+
"Jd": 41,
|
120 |
+
"Jh": 42,
|
121 |
+
"Js": 43,
|
122 |
+
"Kc": 44,
|
123 |
+
"Kd": 45,
|
124 |
+
"Kh": 46,
|
125 |
+
"Ks": 47,
|
126 |
+
"Qc": 48,
|
127 |
+
"Qd": 49,
|
128 |
+
"Qh": 50,
|
129 |
+
"Qs": 51
|
130 |
+
},
|
131 |
+
"layer_norm_eps": 1e-12,
|
132 |
+
"model_type": "yolos",
|
133 |
+
"num_attention_heads": 3,
|
134 |
+
"num_channels": 3,
|
135 |
+
"num_detection_tokens": 100,
|
136 |
+
"num_hidden_layers": 12,
|
137 |
+
"patch_size": 16,
|
138 |
+
"qkv_bias": true,
|
139 |
+
"torch_dtype": "float32",
|
140 |
+
"transformers_version": "4.35.2",
|
141 |
+
"use_mid_position_embeddings": false
|
142 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d737c02056f4df1bfac018943db646ac623e43ae2377a33075fcc660577f53e
|
3 |
+
size 25540340
|
preprocessor_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_pad": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "YolosFeatureExtractor",
|
7 |
+
"format": "coco_detection",
|
8 |
+
"image_mean": [
|
9 |
+
0.485,
|
10 |
+
0.456,
|
11 |
+
0.406
|
12 |
+
],
|
13 |
+
"image_processor_type": "YolosFeatureExtractor",
|
14 |
+
"image_std": [
|
15 |
+
0.229,
|
16 |
+
0.224,
|
17 |
+
0.225
|
18 |
+
],
|
19 |
+
"resample": 2,
|
20 |
+
"rescale_factor": 0.00392156862745098,
|
21 |
+
"size": {
|
22 |
+
"longest_edge": 864,
|
23 |
+
"shortest_edge": 816
|
24 |
+
}
|
25 |
+
}
|