nielsr HF staff commited on
Commit
996dc73
1 Parent(s): 036b1e7

Upload Mask2FormerForUniversalSegmentation

Browse files
Files changed (2) hide show
  1. config.json +233 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "activation_function": "relu",
4
+ "architectures": [
5
+ "Mask2FormerForUniversalSegmentation"
6
+ ],
7
+ "backbone_config": {
8
+ "_name_or_path": "",
9
+ "add_cross_attention": false,
10
+ "architectures": null,
11
+ "attention_probs_dropout_prob": 0.0,
12
+ "bad_words_ids": null,
13
+ "begin_suppress_tokens": null,
14
+ "bos_token_id": null,
15
+ "chunk_size_feed_forward": 0,
16
+ "cross_attention_hidden_size": null,
17
+ "decoder_start_token_id": null,
18
+ "depths": [
19
+ 2,
20
+ 2,
21
+ 18,
22
+ 2
23
+ ],
24
+ "diversity_penalty": 0.0,
25
+ "do_sample": false,
26
+ "drop_path_rate": 0.1,
27
+ "early_stopping": false,
28
+ "embed_dim": 128,
29
+ "encoder_no_repeat_ngram_size": 0,
30
+ "encoder_stride": 32,
31
+ "eos_token_id": null,
32
+ "exponential_decay_length_penalty": null,
33
+ "finetuning_task": null,
34
+ "forced_bos_token_id": null,
35
+ "forced_eos_token_id": null,
36
+ "hidden_act": "gelu",
37
+ "hidden_dropout_prob": 0.0,
38
+ "hidden_size": 1024,
39
+ "id2label": {
40
+ "0": "LABEL_0",
41
+ "1": "LABEL_1"
42
+ },
43
+ "image_size": 224,
44
+ "initializer_range": 0.02,
45
+ "is_decoder": false,
46
+ "is_encoder_decoder": false,
47
+ "label2id": {
48
+ "LABEL_0": 0,
49
+ "LABEL_1": 1
50
+ },
51
+ "layer_norm_eps": 1e-05,
52
+ "length_penalty": 1.0,
53
+ "max_length": 20,
54
+ "min_length": 0,
55
+ "mlp_ratio": 4.0,
56
+ "model_type": "swin",
57
+ "no_repeat_ngram_size": 0,
58
+ "num_beam_groups": 1,
59
+ "num_beams": 1,
60
+ "num_channels": 3,
61
+ "num_heads": [
62
+ 4,
63
+ 8,
64
+ 16,
65
+ 32
66
+ ],
67
+ "num_layers": 4,
68
+ "num_return_sequences": 1,
69
+ "out_features": [
70
+ "stage1",
71
+ "stage2",
72
+ "stage3",
73
+ "stage4"
74
+ ],
75
+ "output_attentions": false,
76
+ "output_hidden_states": false,
77
+ "output_scores": false,
78
+ "pad_token_id": null,
79
+ "patch_size": 4,
80
+ "path_norm": true,
81
+ "prefix": null,
82
+ "problem_type": null,
83
+ "pruned_heads": {},
84
+ "qkv_bias": true,
85
+ "remove_invalid_values": false,
86
+ "repetition_penalty": 1.0,
87
+ "return_dict": true,
88
+ "return_dict_in_generate": false,
89
+ "sep_token_id": null,
90
+ "stage_names": [
91
+ "stem",
92
+ "stage1",
93
+ "stage2",
94
+ "stage3",
95
+ "stage4"
96
+ ],
97
+ "suppress_tokens": null,
98
+ "task_specific_params": null,
99
+ "temperature": 1.0,
100
+ "tf_legacy_loss": false,
101
+ "tie_encoder_decoder": false,
102
+ "tie_word_embeddings": true,
103
+ "tokenizer_class": null,
104
+ "top_k": 50,
105
+ "top_p": 1.0,
106
+ "torch_dtype": null,
107
+ "torchscript": false,
108
+ "transformers_version": "4.26.0.dev0",
109
+ "typical_p": 1.0,
110
+ "use_absolute_embeddings": false,
111
+ "use_bfloat16": false,
112
+ "window_size": 12
113
+ },
114
+ "class_weight": 2.0,
115
+ "common_stride": 4,
116
+ "decoder_layers": 10,
117
+ "dice_weight": 5.0,
118
+ "dim_feedforward": 2048,
119
+ "dropout": 0.0,
120
+ "encoder_feedforward_dim": 1024,
121
+ "encoder_layers": 6,
122
+ "enforce_input_projection": false,
123
+ "feature_size": 256,
124
+ "feature_strides": [
125
+ 4,
126
+ 8,
127
+ 16,
128
+ 32
129
+ ],
130
+ "hidden_dim": 256,
131
+ "id2label": {
132
+ "0": "LABEL_0",
133
+ "1": "LABEL_1",
134
+ "2": "LABEL_2",
135
+ "3": "LABEL_3",
136
+ "4": "LABEL_4",
137
+ "5": "LABEL_5",
138
+ "6": "LABEL_6",
139
+ "7": "LABEL_7",
140
+ "8": "LABEL_8",
141
+ "9": "LABEL_9",
142
+ "10": "LABEL_10",
143
+ "11": "LABEL_11",
144
+ "12": "LABEL_12",
145
+ "13": "LABEL_13",
146
+ "14": "LABEL_14",
147
+ "15": "LABEL_15",
148
+ "16": "LABEL_16",
149
+ "17": "LABEL_17",
150
+ "18": "LABEL_18",
151
+ "19": "LABEL_19",
152
+ "20": "LABEL_20",
153
+ "21": "LABEL_21",
154
+ "22": "LABEL_22",
155
+ "23": "LABEL_23",
156
+ "24": "LABEL_24",
157
+ "25": "LABEL_25",
158
+ "26": "LABEL_26",
159
+ "27": "LABEL_27",
160
+ "28": "LABEL_28",
161
+ "29": "LABEL_29",
162
+ "30": "LABEL_30",
163
+ "31": "LABEL_31",
164
+ "32": "LABEL_32",
165
+ "33": "LABEL_33",
166
+ "34": "LABEL_34",
167
+ "35": "LABEL_35",
168
+ "36": "LABEL_36",
169
+ "37": "LABEL_37",
170
+ "38": "LABEL_38",
171
+ "39": "LABEL_39"
172
+ },
173
+ "ignore_value": 255,
174
+ "importance_sample_ratio": 0.75,
175
+ "init_std": 0.02,
176
+ "init_xavier_std": 1.0,
177
+ "label2id": {
178
+ "LABEL_0": 0,
179
+ "LABEL_1": 1,
180
+ "LABEL_10": 10,
181
+ "LABEL_11": 11,
182
+ "LABEL_12": 12,
183
+ "LABEL_13": 13,
184
+ "LABEL_14": 14,
185
+ "LABEL_15": 15,
186
+ "LABEL_16": 16,
187
+ "LABEL_17": 17,
188
+ "LABEL_18": 18,
189
+ "LABEL_19": 19,
190
+ "LABEL_2": 2,
191
+ "LABEL_20": 20,
192
+ "LABEL_21": 21,
193
+ "LABEL_22": 22,
194
+ "LABEL_23": 23,
195
+ "LABEL_24": 24,
196
+ "LABEL_25": 25,
197
+ "LABEL_26": 26,
198
+ "LABEL_27": 27,
199
+ "LABEL_28": 28,
200
+ "LABEL_29": 29,
201
+ "LABEL_3": 3,
202
+ "LABEL_30": 30,
203
+ "LABEL_31": 31,
204
+ "LABEL_32": 32,
205
+ "LABEL_33": 33,
206
+ "LABEL_34": 34,
207
+ "LABEL_35": 35,
208
+ "LABEL_36": 36,
209
+ "LABEL_37": 37,
210
+ "LABEL_38": 38,
211
+ "LABEL_39": 39,
212
+ "LABEL_4": 4,
213
+ "LABEL_5": 5,
214
+ "LABEL_6": 6,
215
+ "LABEL_7": 7,
216
+ "LABEL_8": 8,
217
+ "LABEL_9": 9
218
+ },
219
+ "mask_feature_size": 256,
220
+ "mask_weight": 5.0,
221
+ "model_type": "mask2former",
222
+ "no_object_weight": 0.1,
223
+ "num_attention_heads": 8,
224
+ "num_hidden_layers": 10,
225
+ "num_queries": 100,
226
+ "output_auxiliary_logits": null,
227
+ "oversample_ratio": 3.0,
228
+ "pre_norm": false,
229
+ "torch_dtype": "float32",
230
+ "train_num_points": 12544,
231
+ "transformers_version": null,
232
+ "use_auxiliary_loss": true
233
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cfeff84b42c1db116122a594e4b13c2cc25fa48f64018bd011d66836fa5d0c5
3
+ size 431843425