praeclarumjj3
commited on
Commit
•
695c75c
1
Parent(s):
2d2ea71
Add model
Browse files- config.json +184 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"OneFormerForUniversalSegmentation"
|
4 |
+
],
|
5 |
+
"backbone_config": {
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
3,
|
9 |
+
4,
|
10 |
+
18,
|
11 |
+
5
|
12 |
+
],
|
13 |
+
"dilations": [
|
14 |
+
[
|
15 |
+
1,
|
16 |
+
18,
|
17 |
+
1
|
18 |
+
],
|
19 |
+
[
|
20 |
+
1,
|
21 |
+
5,
|
22 |
+
1,
|
23 |
+
9
|
24 |
+
],
|
25 |
+
[
|
26 |
+
1,
|
27 |
+
2,
|
28 |
+
1,
|
29 |
+
3,
|
30 |
+
1,
|
31 |
+
4,
|
32 |
+
1,
|
33 |
+
2,
|
34 |
+
1,
|
35 |
+
3,
|
36 |
+
1,
|
37 |
+
4,
|
38 |
+
1,
|
39 |
+
2,
|
40 |
+
1,
|
41 |
+
3,
|
42 |
+
1,
|
43 |
+
4
|
44 |
+
],
|
45 |
+
[
|
46 |
+
1,
|
47 |
+
2,
|
48 |
+
1,
|
49 |
+
2,
|
50 |
+
1
|
51 |
+
]
|
52 |
+
],
|
53 |
+
"drop_path_rate": 0.3,
|
54 |
+
"embed_dim": 192,
|
55 |
+
"encoder_stride": 32,
|
56 |
+
"feature_channels": [
|
57 |
+
192,
|
58 |
+
384,
|
59 |
+
768,
|
60 |
+
1536
|
61 |
+
],
|
62 |
+
"hidden_act": "gelu",
|
63 |
+
"hidden_dropout_prob": 0,
|
64 |
+
"kernel_size": 7,
|
65 |
+
"layer_scale_init_value": 0.0,
|
66 |
+
"mlp_ratio": 2.0,
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_heads": [
|
69 |
+
6,
|
70 |
+
12,
|
71 |
+
24,
|
72 |
+
48
|
73 |
+
],
|
74 |
+
"patch_size": 4,
|
75 |
+
"qkv_bias": true,
|
76 |
+
"strides": [
|
77 |
+
4,
|
78 |
+
8,
|
79 |
+
16,
|
80 |
+
32
|
81 |
+
]
|
82 |
+
},
|
83 |
+
"decoder_config": {
|
84 |
+
"common_stride": 4,
|
85 |
+
"conv_dim": 256,
|
86 |
+
"decoder_layers": 10,
|
87 |
+
"dim_feedforward": 2048,
|
88 |
+
"dropout": 0.1,
|
89 |
+
"encoder_feedforward_dim": 1024,
|
90 |
+
"encoder_layers": 6,
|
91 |
+
"enforce_input_proj": false,
|
92 |
+
"hidden_dim": 256,
|
93 |
+
"mask_dim": 256,
|
94 |
+
"norm": "GN",
|
95 |
+
"num_heads": 8,
|
96 |
+
"pre_norm": false,
|
97 |
+
"query_dec_layers": 2,
|
98 |
+
"use_task_norm": true
|
99 |
+
},
|
100 |
+
"general_config": {
|
101 |
+
"backbone_type": "dinat",
|
102 |
+
"class_weight": 2.0,
|
103 |
+
"contrastive_temperature": 0.07,
|
104 |
+
"contrastive_weight": 0.5,
|
105 |
+
"deep_supervision": true,
|
106 |
+
"dice_weight": 5.0,
|
107 |
+
"ignore_value": 255,
|
108 |
+
"importance_sample_ratio": 0.75,
|
109 |
+
"init_std": 0.02,
|
110 |
+
"init_xavier_std": 1.0,
|
111 |
+
"is_train": false,
|
112 |
+
"layer_norm_eps": 1e-05,
|
113 |
+
"mask_weight": 5.0,
|
114 |
+
"no_object_weight": 0.1,
|
115 |
+
"num_classes": 19,
|
116 |
+
"num_queries": 250,
|
117 |
+
"output_auxiliary_logits": true,
|
118 |
+
"oversample_ratio": 3.0,
|
119 |
+
"train_num_points": 12544,
|
120 |
+
"use_auxiliary_loss": true
|
121 |
+
},
|
122 |
+
"hidden_size": 256,
|
123 |
+
"id2label": {
|
124 |
+
"0": "road",
|
125 |
+
"1": "sidewalk",
|
126 |
+
"2": "building",
|
127 |
+
"3": "wall",
|
128 |
+
"4": "fence",
|
129 |
+
"5": "pole",
|
130 |
+
"6": "traffic light",
|
131 |
+
"7": "traffic sign",
|
132 |
+
"8": "vegetation",
|
133 |
+
"9": "terrain",
|
134 |
+
"10": "sky",
|
135 |
+
"11": "person",
|
136 |
+
"12": "rider",
|
137 |
+
"13": "car",
|
138 |
+
"14": "truck",
|
139 |
+
"15": "bus",
|
140 |
+
"16": "train",
|
141 |
+
"17": "motorcycle",
|
142 |
+
"18": "bicycle"
|
143 |
+
},
|
144 |
+
"init_std": 0.02,
|
145 |
+
"init_xavier_std": 1.0,
|
146 |
+
"label2id": {
|
147 |
+
"bicycle": 18,
|
148 |
+
"building": 2,
|
149 |
+
"bus": 15,
|
150 |
+
"car": 13,
|
151 |
+
"fence": 4,
|
152 |
+
"motorcycle": 17,
|
153 |
+
"person": 11,
|
154 |
+
"pole": 5,
|
155 |
+
"rider": 12,
|
156 |
+
"road": 0,
|
157 |
+
"sidewalk": 1,
|
158 |
+
"sky": 10,
|
159 |
+
"terrain": 9,
|
160 |
+
"traffic light": 6,
|
161 |
+
"traffic sign": 7,
|
162 |
+
"train": 16,
|
163 |
+
"truck": 14,
|
164 |
+
"vegetation": 8,
|
165 |
+
"wall": 3
|
166 |
+
},
|
167 |
+
"model_type": "oneformer",
|
168 |
+
"num_attention_heads": 8,
|
169 |
+
"num_hidden_layers": 10,
|
170 |
+
"output_attentions": true,
|
171 |
+
"output_hidden_states": true,
|
172 |
+
"text_encoder_config": {
|
173 |
+
"max_seq_len": 77,
|
174 |
+
"task_seq_len": 77,
|
175 |
+
"text_encoder_context_length": 77,
|
176 |
+
"text_encoder_n_ctx": 16,
|
177 |
+
"text_encoder_num_layers": 6,
|
178 |
+
"text_encoder_proj_layers": 2,
|
179 |
+
"text_encoder_vocab_size": 49408,
|
180 |
+
"text_encoder_width": 256
|
181 |
+
},
|
182 |
+
"torch_dtype": "float32",
|
183 |
+
"transformers_version": "4.25.0.dev0"
|
184 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:966abafe6b0a3e71b42b43ff66cb4d7e1587f3fbc4a059d6d577113719604253
|
3 |
+
size 892263789
|