abdulsalama commited on
Commit
9a82e21
1 Parent(s): 472d32d

Upload MaskFormerForInstanceSegmentation

Browse files
Files changed (2) hide show
  1. config.json +238 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "cdaa4f1cc221ac6fbc0e42254c5ad13a4a15891c",
3
+ "architectures": [
4
+ "MaskFormerForInstanceSegmentation"
5
+ ],
6
+ "backbone_config": {
7
+ "_name_or_path": "",
8
+ "add_cross_attention": false,
9
+ "architectures": null,
10
+ "attention_probs_dropout_prob": 0.0,
11
+ "bad_words_ids": null,
12
+ "begin_suppress_tokens": null,
13
+ "bos_token_id": null,
14
+ "chunk_size_feed_forward": 0,
15
+ "cross_attention_hidden_size": null,
16
+ "decoder_start_token_id": null,
17
+ "depths": [
18
+ 2,
19
+ 2,
20
+ 18,
21
+ 2
22
+ ],
23
+ "diversity_penalty": 0.0,
24
+ "do_sample": false,
25
+ "drop_path_rate": 0.3,
26
+ "early_stopping": false,
27
+ "embed_dim": 192,
28
+ "encoder_no_repeat_ngram_size": 0,
29
+ "encoder_stride": 32,
30
+ "eos_token_id": null,
31
+ "exponential_decay_length_penalty": null,
32
+ "finetuning_task": null,
33
+ "forced_bos_token_id": null,
34
+ "forced_eos_token_id": null,
35
+ "hidden_act": "gelu",
36
+ "hidden_dropout_prob": 0.0,
37
+ "hidden_size": 1536,
38
+ "id2label": {
39
+ "0": "LABEL_0",
40
+ "1": "LABEL_1"
41
+ },
42
+ "image_size": 384,
43
+ "in_channels": 3,
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
+ 6,
63
+ 12,
64
+ 24,
65
+ 48
66
+ ],
67
+ "num_layers": 4,
68
+ "num_return_sequences": 1,
69
+ "out_features": [
70
+ "stage4"
71
+ ],
72
+ "out_indices": [
73
+ 4
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
+ "pretrain_img_size": 384,
83
+ "problem_type": null,
84
+ "pruned_heads": {},
85
+ "qkv_bias": true,
86
+ "remove_invalid_values": false,
87
+ "repetition_penalty": 1.0,
88
+ "return_dict": true,
89
+ "return_dict_in_generate": false,
90
+ "sep_token_id": null,
91
+ "stage_names": [
92
+ "stem",
93
+ "stage1",
94
+ "stage2",
95
+ "stage3",
96
+ "stage4"
97
+ ],
98
+ "suppress_tokens": null,
99
+ "task_specific_params": null,
100
+ "temperature": 1.0,
101
+ "tf_legacy_loss": false,
102
+ "tie_encoder_decoder": false,
103
+ "tie_word_embeddings": true,
104
+ "tokenizer_class": null,
105
+ "top_k": 50,
106
+ "top_p": 1.0,
107
+ "torch_dtype": null,
108
+ "torchscript": false,
109
+ "transformers_version": "4.29.0.dev0",
110
+ "typical_p": 1.0,
111
+ "use_absolute_embeddings": false,
112
+ "use_bfloat16": false,
113
+ "window_size": 12
114
+ },
115
+ "ce_weight": 1.0,
116
+ "cross_entropy_weight": 1.0,
117
+ "decoder_config": {
118
+ "_commit_hash": null,
119
+ "_name_or_path": "",
120
+ "activation_dropout": 0.0,
121
+ "activation_function": "relu",
122
+ "add_cross_attention": false,
123
+ "architectures": null,
124
+ "attention_dropout": 0.0,
125
+ "auxiliary_loss": false,
126
+ "backbone": "resnet50",
127
+ "backbone_config": null,
128
+ "bad_words_ids": null,
129
+ "bbox_cost": 5,
130
+ "bbox_loss_coefficient": 5,
131
+ "begin_suppress_tokens": null,
132
+ "bos_token_id": null,
133
+ "chunk_size_feed_forward": 0,
134
+ "class_cost": 1,
135
+ "cross_attention_hidden_size": null,
136
+ "d_model": 256,
137
+ "decoder_attention_heads": 8,
138
+ "decoder_ffn_dim": 2048,
139
+ "decoder_layerdrop": 0.0,
140
+ "decoder_layers": 6,
141
+ "decoder_start_token_id": null,
142
+ "dice_loss_coefficient": 1,
143
+ "dilation": false,
144
+ "diversity_penalty": 0.0,
145
+ "do_sample": false,
146
+ "dropout": 0.1,
147
+ "early_stopping": false,
148
+ "encoder_attention_heads": 8,
149
+ "encoder_ffn_dim": 2048,
150
+ "encoder_layerdrop": 0.0,
151
+ "encoder_layers": 6,
152
+ "encoder_no_repeat_ngram_size": 0,
153
+ "eos_coefficient": 0.1,
154
+ "eos_token_id": null,
155
+ "exponential_decay_length_penalty": null,
156
+ "finetuning_task": null,
157
+ "forced_bos_token_id": null,
158
+ "forced_eos_token_id": null,
159
+ "giou_cost": 2,
160
+ "giou_loss_coefficient": 2,
161
+ "id2label": {
162
+ "0": "LABEL_0",
163
+ "1": "LABEL_1"
164
+ },
165
+ "init_std": 0.02,
166
+ "init_xavier_std": 1.0,
167
+ "is_decoder": false,
168
+ "is_encoder_decoder": true,
169
+ "label2id": {
170
+ "LABEL_0": 0,
171
+ "LABEL_1": 1
172
+ },
173
+ "length_penalty": 1.0,
174
+ "mask_loss_coefficient": 1,
175
+ "max_length": 20,
176
+ "max_position_embeddings": 1024,
177
+ "min_length": 0,
178
+ "model_type": "detr",
179
+ "no_repeat_ngram_size": 0,
180
+ "num_beam_groups": 1,
181
+ "num_beams": 1,
182
+ "num_channels": 3,
183
+ "num_hidden_layers": 6,
184
+ "num_queries": 100,
185
+ "num_return_sequences": 1,
186
+ "output_attentions": false,
187
+ "output_hidden_states": false,
188
+ "output_scores": false,
189
+ "pad_token_id": null,
190
+ "position_embedding_type": "sine",
191
+ "prefix": null,
192
+ "problem_type": null,
193
+ "pruned_heads": {},
194
+ "remove_invalid_values": false,
195
+ "repetition_penalty": 1.0,
196
+ "return_dict": true,
197
+ "return_dict_in_generate": false,
198
+ "scale_embedding": false,
199
+ "sep_token_id": null,
200
+ "suppress_tokens": null,
201
+ "task_specific_params": null,
202
+ "temperature": 1.0,
203
+ "tf_legacy_loss": false,
204
+ "tie_encoder_decoder": false,
205
+ "tie_word_embeddings": true,
206
+ "tokenizer_class": null,
207
+ "top_k": 50,
208
+ "top_p": 1.0,
209
+ "torch_dtype": null,
210
+ "torchscript": false,
211
+ "transformers_version": "4.17.0.dev0",
212
+ "typical_p": 1.0,
213
+ "use_bfloat16": false,
214
+ "use_pretrained_backbone": true,
215
+ "use_timm_backbone": true
216
+ },
217
+ "dice_weight": 1.0,
218
+ "fpn_feature_size": 256,
219
+ "id2label": {
220
+ "0": "solar"
221
+ },
222
+ "init_std": 0.02,
223
+ "init_xavier_std": 1.0,
224
+ "label2id": {
225
+ "solar": 0
226
+ },
227
+ "mask_feature_size": 256,
228
+ "mask_weight": 20.0,
229
+ "model_type": "maskformer",
230
+ "no_object_weight": 0.1,
231
+ "num_attention_heads": 8,
232
+ "num_hidden_layers": 6,
233
+ "num_queries": 100,
234
+ "output_auxiliary_logits": null,
235
+ "torch_dtype": "float32",
236
+ "transformers_version": null,
237
+ "use_auxiliary_loss": false
238
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2a01bcff04774b120be7f10b498a3894b4a8262c4f11c843c7fa72b3fb09298
3
+ size 850386797