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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/workspace/multiformer_m0",
|
| 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 |
+
1,
|
| 99 |
+
2,
|
| 100 |
+
3
|
| 101 |
+
],
|
| 102 |
+
"det2d_input_proj_groups": 32,
|
| 103 |
+
"det2d_input_proj_kernels": [
|
| 104 |
+
1,
|
| 105 |
+
1,
|
| 106 |
+
1
|
| 107 |
+
],
|
| 108 |
+
"det2d_input_proj_pads": [
|
| 109 |
+
0,
|
| 110 |
+
0,
|
| 111 |
+
0
|
| 112 |
+
],
|
| 113 |
+
"det2d_input_proj_strides": [
|
| 114 |
+
1,
|
| 115 |
+
1,
|
| 116 |
+
1
|
| 117 |
+
],
|
| 118 |
+
"det2d_use_pos_embed": true,
|
| 119 |
+
"det3d_num_heading_bins": 12,
|
| 120 |
+
"det3d_predict_class": false,
|
| 121 |
+
"det3d_type_mean_sizes": {
|
| 122 |
+
"bicycle": [
|
| 123 |
+
1.3252513842854072,
|
| 124 |
+
0.5087623590366082,
|
| 125 |
+
1.6023777324693749
|
| 126 |
+
],
|
| 127 |
+
"bus": [
|
| 128 |
+
2.012248454530893,
|
| 129 |
+
1.8628641001034811,
|
| 130 |
+
4.327287051409026
|
| 131 |
+
],
|
| 132 |
+
"car": [
|
| 133 |
+
1.6351819382478878,
|
| 134 |
+
1.8992701184837708,
|
| 135 |
+
4.471483058450479
|
| 136 |
+
],
|
| 137 |
+
"motorcycle": [
|
| 138 |
+
1.2625147692222876,
|
| 139 |
+
0.6884931937235099,
|
| 140 |
+
2.030941778814124
|
| 141 |
+
],
|
| 142 |
+
"pedestrian": [
|
| 143 |
+
1.773017496887137,
|
| 144 |
+
0.38524578907445944,
|
| 145 |
+
0.38524578907445944
|
| 146 |
+
],
|
| 147 |
+
"truck": [
|
| 148 |
+
2.774033790320722,
|
| 149 |
+
2.507875293310309,
|
| 150 |
+
6.471412330091904
|
| 151 |
+
]
|
| 152 |
+
},
|
| 153 |
+
"dice_loss_coefficient": 1,
|
| 154 |
+
"dilation": false,
|
| 155 |
+
"disable_custom_kernels": false,
|
| 156 |
+
"dropout": 0.1,
|
| 157 |
+
"encoder_attention_heads": 8,
|
| 158 |
+
"encoder_ffn_dim": 256,
|
| 159 |
+
"encoder_layerdrop": 0.0,
|
| 160 |
+
"encoder_layers": 3,
|
| 161 |
+
"encoder_n_points": 4,
|
| 162 |
+
"eos_coefficient": 0.1,
|
| 163 |
+
"focal_alpha": 0.25,
|
| 164 |
+
"frozen_batch_norm": false,
|
| 165 |
+
"giou_cost": 2,
|
| 166 |
+
"giou_loss_coefficient": 2,
|
| 167 |
+
"head_in_index": -1,
|
| 168 |
+
"id2label": {
|
| 169 |
+
"0": "pedestrian",
|
| 170 |
+
"1": "car",
|
| 171 |
+
"2": "truck",
|
| 172 |
+
"3": "bus",
|
| 173 |
+
"4": "motorcycle",
|
| 174 |
+
"5": "bicycle"
|
| 175 |
+
},
|
| 176 |
+
"init_std": 0.02,
|
| 177 |
+
"init_xavier_std": 1.0,
|
| 178 |
+
"is_encoder_decoder": true,
|
| 179 |
+
"label2id": {
|
| 180 |
+
"bicycle": 5,
|
| 181 |
+
"bus": 3,
|
| 182 |
+
"car": 1,
|
| 183 |
+
"motorcycle": 4,
|
| 184 |
+
"pedestrian": 0,
|
| 185 |
+
"truck": 2
|
| 186 |
+
},
|
| 187 |
+
"mask_loss_coefficient": 1,
|
| 188 |
+
"max_depth": 10,
|
| 189 |
+
"max_position_embeddings": 1024,
|
| 190 |
+
"model_type": "multiformer",
|
| 191 |
+
"num_channels": 3,
|
| 192 |
+
"num_feature_levels": 4,
|
| 193 |
+
"num_queries": 300,
|
| 194 |
+
"omit_heads": [
|
| 195 |
+
"det_3d"
|
| 196 |
+
],
|
| 197 |
+
"position_embedding_type": "sine",
|
| 198 |
+
"semantic_classifier_dropout": 0.1,
|
| 199 |
+
"semantic_decoder_dim": 256,
|
| 200 |
+
"semantic_loss_ignore_index": 255,
|
| 201 |
+
"silog_lambda": 0.25,
|
| 202 |
+
"tasks": [
|
| 203 |
+
"semseg",
|
| 204 |
+
"depth",
|
| 205 |
+
"det_2d"
|
| 206 |
+
],
|
| 207 |
+
"torch_dtype": "float32",
|
| 208 |
+
"train_backbone": true,
|
| 209 |
+
"train_tasks": [
|
| 210 |
+
"semseg",
|
| 211 |
+
"depth",
|
| 212 |
+
"det_2d"
|
| 213 |
+
],
|
| 214 |
+
"transformers_version": "4.36.0.dev0",
|
| 215 |
+
"two_stage": false,
|
| 216 |
+
"two_stage_num_proposals": 300,
|
| 217 |
+
"use_pretrained_backbone": true,
|
| 218 |
+
"use_timm_backbone": false,
|
| 219 |
+
"with_box_refine": false
|
| 220 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f0978f2e67d0faa0be82ca1038b219d84d03a3606272dcfa48d2f9f9a6ede75
|
| 3 |
+
size 32212096
|