abdulsalama commited on
Commit
b8ae48f
·
1 Parent(s): 49a5982

Upload MaskFormerForInstanceSegmentation

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