shivi commited on
Commit
6143fc1
1 Parent(s): 3074f69

Upload Mask2FormerForUniversalSegmentation

Browse files
Files changed (2) hide show
  1. config.json +237 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.3,
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
+ "prefix": null,
81
+ "problem_type": null,
82
+ "pruned_heads": {},
83
+ "qkv_bias": true,
84
+ "remove_invalid_values": false,
85
+ "repetition_penalty": 1.0,
86
+ "return_dict": true,
87
+ "return_dict_in_generate": false,
88
+ "sep_token_id": null,
89
+ "stage_names": [
90
+ "stem",
91
+ "stage1",
92
+ "stage2",
93
+ "stage3",
94
+ "stage4"
95
+ ],
96
+ "suppress_tokens": null,
97
+ "task_specific_params": null,
98
+ "temperature": 1.0,
99
+ "tf_legacy_loss": false,
100
+ "tie_encoder_decoder": false,
101
+ "tie_word_embeddings": true,
102
+ "tokenizer_class": null,
103
+ "top_k": 50,
104
+ "top_p": 1.0,
105
+ "torch_dtype": null,
106
+ "torchscript": false,
107
+ "transformers_version": "4.28.0.dev0",
108
+ "typical_p": 1.0,
109
+ "use_absolute_embeddings": false,
110
+ "use_bfloat16": false,
111
+ "window_size": 12
112
+ },
113
+ "class_weight": 2.0,
114
+ "common_stride": 4,
115
+ "decoder_layers": 10,
116
+ "dice_weight": 5.0,
117
+ "dim_feedforward": 2048,
118
+ "dropout": 0.0,
119
+ "encoder_feedforward_dim": 1024,
120
+ "encoder_layers": 6,
121
+ "enforce_input_proj": false,
122
+ "enforce_input_projection": false,
123
+ "feature_size": 256,
124
+ "feature_strides": [
125
+ 4,
126
+ 8,
127
+ 16,
128
+ 32
129
+ ],
130
+ "frame_range": 20,
131
+ "frame_shuffle": false,
132
+ "hidden_dim": 256,
133
+ "id2label": {
134
+ "0": "airplane",
135
+ "1": "bear",
136
+ "2": "bird",
137
+ "3": "boat",
138
+ "4": "car",
139
+ "5": "cat",
140
+ "6": "cow",
141
+ "7": "deer",
142
+ "8": "dog",
143
+ "9": "duck",
144
+ "10": "earless_seal",
145
+ "11": "elephant",
146
+ "12": "fish",
147
+ "13": "flying_disc",
148
+ "14": "fox",
149
+ "15": "frog",
150
+ "16": "giant_panda",
151
+ "17": "giraffe",
152
+ "18": "horse",
153
+ "19": "leopard",
154
+ "20": "lizard",
155
+ "21": "monkey",
156
+ "22": "motorbike",
157
+ "23": "mouse",
158
+ "24": "parrot",
159
+ "25": "person",
160
+ "26": "rabbit",
161
+ "27": "shark",
162
+ "28": "skateboard",
163
+ "29": "snake",
164
+ "30": "snowboard",
165
+ "31": "squirrel",
166
+ "32": "surfboard",
167
+ "33": "tennis_racket",
168
+ "34": "tiger",
169
+ "35": "train",
170
+ "36": "truck",
171
+ "37": "turtle",
172
+ "38": "whale",
173
+ "39": "zebra"
174
+ },
175
+ "ignore_value": 255,
176
+ "importance_sample_ratio": 0.75,
177
+ "init_std": 0.02,
178
+ "init_xavier_std": 1.0,
179
+ "is_video": true,
180
+ "label2id": {
181
+ "airplane": 0,
182
+ "bear": 1,
183
+ "bird": 2,
184
+ "boat": 3,
185
+ "car": 4,
186
+ "cat": 5,
187
+ "cow": 6,
188
+ "deer": 7,
189
+ "dog": 8,
190
+ "duck": 9,
191
+ "earless_seal": 10,
192
+ "elephant": 11,
193
+ "fish": 12,
194
+ "flying_disc": 13,
195
+ "fox": 14,
196
+ "frog": 15,
197
+ "giant_panda": 16,
198
+ "giraffe": 17,
199
+ "horse": 18,
200
+ "leopard": 19,
201
+ "lizard": 20,
202
+ "monkey": 21,
203
+ "motorbike": 22,
204
+ "mouse": 23,
205
+ "parrot": 24,
206
+ "person": 25,
207
+ "rabbit": 26,
208
+ "shark": 27,
209
+ "skateboard": 28,
210
+ "snake": 29,
211
+ "snowboard": 30,
212
+ "squirrel": 31,
213
+ "surfboard": 32,
214
+ "tennis_racket": 33,
215
+ "tiger": 34,
216
+ "train": 35,
217
+ "truck": 36,
218
+ "turtle": 37,
219
+ "whale": 38,
220
+ "zebra": 39
221
+ },
222
+ "mask_feature_size": 256,
223
+ "mask_weight": 5.0,
224
+ "model_type": "mask2former",
225
+ "no_object_weight": 0.1,
226
+ "num_attention_heads": 8,
227
+ "num_frames": 2,
228
+ "num_hidden_layers": 10,
229
+ "num_queries": 100,
230
+ "output_auxiliary_logits": null,
231
+ "oversample_ratio": 3.0,
232
+ "pre_norm": false,
233
+ "torch_dtype": "float32",
234
+ "train_num_points": 12544,
235
+ "transformers_version": null,
236
+ "use_auxiliary_loss": true
237
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c5c1cc95bfd7b363b4eb7f62bc549f142fa3c2a7dd455f87d398ae68a8bed17
3
+ size 431837253