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": "/workspace/multiformer_m1",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"Multiformer"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auxiliary_loss": false,
|
10 |
+
"backbone": "pvt_v2",
|
11 |
+
"backbone_config": {
|
12 |
+
"_out_features": [
|
13 |
+
"stage1",
|
14 |
+
"stage2",
|
15 |
+
"stage3",
|
16 |
+
"stage4"
|
17 |
+
],
|
18 |
+
"_out_indices": [
|
19 |
+
0,
|
20 |
+
1,
|
21 |
+
2,
|
22 |
+
3
|
23 |
+
],
|
24 |
+
"do_reduce_labels": true,
|
25 |
+
"id2label": {
|
26 |
+
"0": "unlabeled",
|
27 |
+
"1": "building",
|
28 |
+
"2": "fence",
|
29 |
+
"3": "other",
|
30 |
+
"4": "pedestrian",
|
31 |
+
"5": "pole",
|
32 |
+
"6": "road line",
|
33 |
+
"7": "road",
|
34 |
+
"8": "sidewalk",
|
35 |
+
"9": "vegetation",
|
36 |
+
"10": "vehicle",
|
37 |
+
"11": "wall",
|
38 |
+
"12": "traffic sign",
|
39 |
+
"13": "sky",
|
40 |
+
"14": "ground",
|
41 |
+
"15": "bridge",
|
42 |
+
"16": "rail track",
|
43 |
+
"17": "guard rail",
|
44 |
+
"18": "traffic light",
|
45 |
+
"19": "static",
|
46 |
+
"20": "dynamic",
|
47 |
+
"21": "water",
|
48 |
+
"22": "terrain"
|
49 |
+
},
|
50 |
+
"label2id": {
|
51 |
+
"bridge": 15,
|
52 |
+
"building": 1,
|
53 |
+
"dynamic": 20,
|
54 |
+
"fence": 2,
|
55 |
+
"ground": 14,
|
56 |
+
"guard rail": 17,
|
57 |
+
"other": 3,
|
58 |
+
"pedestrian": 4,
|
59 |
+
"pole": 5,
|
60 |
+
"rail track": 16,
|
61 |
+
"road": 7,
|
62 |
+
"road line": 6,
|
63 |
+
"sidewalk": 8,
|
64 |
+
"sky": 13,
|
65 |
+
"static": 19,
|
66 |
+
"terrain": 22,
|
67 |
+
"traffic light": 18,
|
68 |
+
"traffic sign": 12,
|
69 |
+
"unlabeled": 0,
|
70 |
+
"vegetation": 9,
|
71 |
+
"vehicle": 10,
|
72 |
+
"wall": 11,
|
73 |
+
"water": 21
|
74 |
+
},
|
75 |
+
"mlp_ratios": [
|
76 |
+
4,
|
77 |
+
4,
|
78 |
+
4,
|
79 |
+
4
|
80 |
+
],
|
81 |
+
"model_type": "pvt_v2",
|
82 |
+
"output_hidden_states": true
|
83 |
+
},
|
84 |
+
"bbox_cost": 5,
|
85 |
+
"bbox_loss_coefficient": 5,
|
86 |
+
"class_cost": 1,
|
87 |
+
"d_model": 256,
|
88 |
+
"decoder_attention_heads": 8,
|
89 |
+
"decoder_ffn_dim": 256,
|
90 |
+
"decoder_layers": 3,
|
91 |
+
"decoder_n_points": 4,
|
92 |
+
"depth_decoder_dim": 64,
|
93 |
+
"det2d_box_keep_prob": 0.35,
|
94 |
+
"det2d_extra_feature_levels": 1,
|
95 |
+
"det2d_fuse_depth": false,
|
96 |
+
"det2d_fuse_semantic": false,
|
97 |
+
"det2d_input_feature_levels": [
|
98 |
+
0,
|
99 |
+
1,
|
100 |
+
2,
|
101 |
+
3
|
102 |
+
],
|
103 |
+
"det2d_input_proj_groups": 32,
|
104 |
+
"det2d_input_proj_kernels": [
|
105 |
+
2,
|
106 |
+
1,
|
107 |
+
1,
|
108 |
+
1
|
109 |
+
],
|
110 |
+
"det2d_input_proj_pads": [
|
111 |
+
0,
|
112 |
+
0,
|
113 |
+
0,
|
114 |
+
0
|
115 |
+
],
|
116 |
+
"det2d_input_proj_strides": [
|
117 |
+
2,
|
118 |
+
1,
|
119 |
+
1,
|
120 |
+
1
|
121 |
+
],
|
122 |
+
"det2d_use_pos_embed": true,
|
123 |
+
"det3d_num_heading_bins": 12,
|
124 |
+
"det3d_predict_class": false,
|
125 |
+
"det3d_type_mean_sizes": {
|
126 |
+
"bicycle": [
|
127 |
+
1.3252513842854072,
|
128 |
+
0.5087623590366082,
|
129 |
+
1.6023777324693749
|
130 |
+
],
|
131 |
+
"bus": [
|
132 |
+
2.012248454530893,
|
133 |
+
1.8628641001034811,
|
134 |
+
4.327287051409026
|
135 |
+
],
|
136 |
+
"car": [
|
137 |
+
1.6351819382478878,
|
138 |
+
1.8992701184837708,
|
139 |
+
4.471483058450479
|
140 |
+
],
|
141 |
+
"motorcycle": [
|
142 |
+
1.2625147692222876,
|
143 |
+
0.6884931937235099,
|
144 |
+
2.030941778814124
|
145 |
+
],
|
146 |
+
"pedestrian": [
|
147 |
+
1.773017496887137,
|
148 |
+
0.38524578907445944,
|
149 |
+
0.38524578907445944
|
150 |
+
],
|
151 |
+
"truck": [
|
152 |
+
2.774033790320722,
|
153 |
+
2.507875293310309,
|
154 |
+
6.471412330091904
|
155 |
+
]
|
156 |
+
},
|
157 |
+
"dice_loss_coefficient": 1,
|
158 |
+
"dilation": false,
|
159 |
+
"disable_custom_kernels": false,
|
160 |
+
"dropout": 0.1,
|
161 |
+
"encoder_attention_heads": 8,
|
162 |
+
"encoder_ffn_dim": 256,
|
163 |
+
"encoder_layerdrop": 0.0,
|
164 |
+
"encoder_layers": 3,
|
165 |
+
"encoder_n_points": 4,
|
166 |
+
"eos_coefficient": 0.1,
|
167 |
+
"focal_alpha": 0.25,
|
168 |
+
"frozen_batch_norm": false,
|
169 |
+
"giou_cost": 2,
|
170 |
+
"giou_loss_coefficient": 2,
|
171 |
+
"head_in_index": -1,
|
172 |
+
"id2label": {
|
173 |
+
"0": "pedestrian",
|
174 |
+
"1": "car",
|
175 |
+
"2": "truck",
|
176 |
+
"3": "bus",
|
177 |
+
"4": "motorcycle",
|
178 |
+
"5": "bicycle"
|
179 |
+
},
|
180 |
+
"init_std": 0.02,
|
181 |
+
"init_xavier_std": 1.0,
|
182 |
+
"is_encoder_decoder": true,
|
183 |
+
"label2id": {
|
184 |
+
"bicycle": 5,
|
185 |
+
"bus": 3,
|
186 |
+
"car": 1,
|
187 |
+
"motorcycle": 4,
|
188 |
+
"pedestrian": 0,
|
189 |
+
"truck": 2
|
190 |
+
},
|
191 |
+
"mask_loss_coefficient": 1,
|
192 |
+
"max_depth": 10,
|
193 |
+
"max_position_embeddings": 1024,
|
194 |
+
"model_type": "multiformer",
|
195 |
+
"num_channels": 3,
|
196 |
+
"num_feature_levels": 5,
|
197 |
+
"num_queries": 300,
|
198 |
+
"omit_heads": [
|
199 |
+
"det_3d"
|
200 |
+
],
|
201 |
+
"position_embedding_type": "sine",
|
202 |
+
"semantic_classifier_dropout": 0.1,
|
203 |
+
"semantic_decoder_dim": 256,
|
204 |
+
"semantic_loss_ignore_index": 255,
|
205 |
+
"silog_lambda": 0.25,
|
206 |
+
"tasks": [
|
207 |
+
"semseg",
|
208 |
+
"depth",
|
209 |
+
"det_2d"
|
210 |
+
],
|
211 |
+
"torch_dtype": "float32",
|
212 |
+
"train_backbone": true,
|
213 |
+
"train_tasks": [
|
214 |
+
"semseg",
|
215 |
+
"depth",
|
216 |
+
"det_2d"
|
217 |
+
],
|
218 |
+
"transformers_version": "4.36.0.dev0",
|
219 |
+
"two_stage": false,
|
220 |
+
"two_stage_num_proposals": 300,
|
221 |
+
"use_pretrained_backbone": true,
|
222 |
+
"use_timm_backbone": false,
|
223 |
+
"with_box_refine": false
|
224 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61b2a1800ad00faa8b575f484b1d139b27f554673d863de637024c32d287847f
|
3 |
+
size 32939776
|