adirik commited on
Commit
e3b476f
1 Parent(s): 7def072

Upload Mask2FormerForUniversalSegmentation

Browse files
Files changed (2) hide show
  1. config.json +12 -77
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,6 @@
1
  {
2
  "_commit_hash": null,
 
3
  "architectures": [
4
  "Mask2FormerForUniversalSegmentation"
5
  ],
@@ -2108,90 +2109,23 @@
2108
  "window_size": 7
2109
  },
2110
  "class_weight": 2.0,
2111
- "decoder_config": {
2112
- "_name_or_path": "",
2113
- "activation_function": "relu",
2114
- "add_cross_attention": false,
2115
- "architectures": null,
2116
- "bad_words_ids": null,
2117
- "begin_suppress_tokens": null,
2118
- "bos_token_id": null,
2119
- "chunk_size_feed_forward": 0,
2120
- "common_stride": 4,
2121
- "cross_attention_hidden_size": null,
2122
- "decoder_layers": 10,
2123
- "decoder_start_token_id": null,
2124
- "dim_feedforward": 2048,
2125
- "diversity_penalty": 0.0,
2126
- "do_sample": false,
2127
- "dropout": 0.0,
2128
- "early_stopping": false,
2129
- "encoder_feedforward_dim": 1024,
2130
- "encoder_layers": 6,
2131
- "encoder_no_repeat_ngram_size": 0,
2132
- "enforce_input_projection": false,
2133
- "eos_token_id": null,
2134
- "exponential_decay_length_penalty": null,
2135
- "feature_size": 256,
2136
- "finetuning_task": null,
2137
- "forced_bos_token_id": null,
2138
- "forced_eos_token_id": null,
2139
- "hidden_dim": 256,
2140
- "id2label": {
2141
- "0": "LABEL_0",
2142
- "1": "LABEL_1"
2143
- },
2144
- "is_decoder": false,
2145
- "is_encoder_decoder": false,
2146
- "label2id": {
2147
- "LABEL_0": 0,
2148
- "LABEL_1": 1
2149
- },
2150
- "length_penalty": 1.0,
2151
- "mask_feature_size": 256,
2152
- "max_length": 20,
2153
- "min_length": 0,
2154
- "model_type": "mask2Former_decoder",
2155
- "no_repeat_ngram_size": 0,
2156
- "num_beam_groups": 1,
2157
- "num_beams": 1,
2158
- "num_heads": 8,
2159
- "num_return_sequences": 1,
2160
- "output_attentions": false,
2161
- "output_hidden_states": false,
2162
- "output_scores": false,
2163
- "pad_token_id": null,
2164
- "pre_norm": false,
2165
- "prefix": null,
2166
- "problem_type": null,
2167
- "pruned_heads": {},
2168
- "remove_invalid_values": false,
2169
- "repetition_penalty": 1.0,
2170
- "return_dict": true,
2171
- "return_dict_in_generate": false,
2172
- "sep_token_id": null,
2173
- "suppress_tokens": null,
2174
- "task_specific_params": null,
2175
- "temperature": 1.0,
2176
- "tf_legacy_loss": false,
2177
- "tie_encoder_decoder": false,
2178
- "tie_word_embeddings": true,
2179
- "tokenizer_class": null,
2180
- "top_k": 50,
2181
- "top_p": 1.0,
2182
- "torch_dtype": null,
2183
- "torchscript": false,
2184
- "transformers_version": "4.26.0.dev0",
2185
- "typical_p": 1.0,
2186
- "use_bfloat16": false
2187
- },
2188
  "dice_weight": 5.0,
 
 
 
 
 
 
 
2189
  "feature_strides": [
2190
  4,
2191
  8,
2192
  16,
2193
  32
2194
  ],
 
2195
  "id2label": {
2196
  "0": "person",
2197
  "1": "bicycle",
@@ -2369,6 +2303,7 @@
2369
  "num_queries": 100,
2370
  "output_auxiliary_logits": null,
2371
  "oversample_ratio": 3.0,
 
2372
  "torch_dtype": "float32",
2373
  "train_num_points": 12544,
2374
  "transformers_version": null,
1
  {
2
  "_commit_hash": null,
3
+ "activation_function": "relu",
4
  "architectures": [
5
  "Mask2FormerForUniversalSegmentation"
6
  ],
2109
  "window_size": 7
2110
  },
2111
  "class_weight": 2.0,
2112
+ "common_stride": 4,
2113
+ "decoder_layers": 10,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2114
  "dice_weight": 5.0,
2115
+ "dim_feedforward": 2048,
2116
+ "dropout": 0.0,
2117
+ "encoder_feedforward_dim": 1024,
2118
+ "encoder_layers": 6,
2119
+ "enforce_input_proj": false,
2120
+ "enforce_input_projection": false,
2121
+ "feature_size": 256,
2122
  "feature_strides": [
2123
  4,
2124
  8,
2125
  16,
2126
  32
2127
  ],
2128
+ "hidden_dim": 256,
2129
  "id2label": {
2130
  "0": "person",
2131
  "1": "bicycle",
2303
  "num_queries": 100,
2304
  "output_auxiliary_logits": null,
2305
  "oversample_ratio": 3.0,
2306
+ "pre_norm": false,
2307
  "torch_dtype": "float32",
2308
  "train_num_points": 12544,
2309
  "transformers_version": null,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7cae3b866ec73602baa2366a96c785c64186de459f04d6d543dcf6fb56bbeafd
3
- size 190104853
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59e7266687f957562d63523de9ad4a1a772a504ef43be4e3935ffb6acdb19161
3
+ size 190117413