Upload MaskFormerForInstanceSegmentation
Browse files- config.json +15 -3
config.json
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"MaskFormerForInstanceSegmentation"
|
4 |
],
|
|
|
5 |
"backbone_config": {
|
6 |
"depths": [
|
7 |
2,
|
@@ -11,10 +13,11 @@
|
|
11 |
],
|
12 |
"drop_path_rate": 0.3,
|
13 |
"embed_dim": 192,
|
|
|
14 |
"hidden_size": 1536,
|
15 |
"image_size": 384,
|
16 |
"in_channels": 3,
|
17 |
-
"model_type": "swin",
|
18 |
"num_heads": [
|
19 |
6,
|
20 |
12,
|
@@ -22,15 +25,22 @@
|
|
22 |
48
|
23 |
],
|
24 |
"out_features": [
|
|
|
|
|
|
|
25 |
"stage4"
|
26 |
],
|
27 |
"out_indices": [
|
|
|
|
|
|
|
28 |
4
|
29 |
],
|
30 |
"path_norm": true,
|
31 |
"pretrain_img_size": 384,
|
32 |
"window_size": 12
|
33 |
},
|
|
|
34 |
"ce_weight": 1.0,
|
35 |
"cross_entropy_weight": 1.0,
|
36 |
"decoder_config": {
|
@@ -355,6 +365,8 @@
|
|
355 |
"num_queries": 100,
|
356 |
"output_auxiliary_logits": null,
|
357 |
"torch_dtype": "float32",
|
358 |
-
"transformers_version": "4.
|
359 |
-
"use_auxiliary_loss": false
|
|
|
|
|
360 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "facebook/maskformer-swin-large-ade",
|
3 |
"architectures": [
|
4 |
"MaskFormerForInstanceSegmentation"
|
5 |
],
|
6 |
+
"backbone": null,
|
7 |
"backbone_config": {
|
8 |
"depths": [
|
9 |
2,
|
|
|
13 |
],
|
14 |
"drop_path_rate": 0.3,
|
15 |
"embed_dim": 192,
|
16 |
+
"encoder_stride": 32,
|
17 |
"hidden_size": 1536,
|
18 |
"image_size": 384,
|
19 |
"in_channels": 3,
|
20 |
+
"model_type": "maskformer-swin",
|
21 |
"num_heads": [
|
22 |
6,
|
23 |
12,
|
|
|
25 |
48
|
26 |
],
|
27 |
"out_features": [
|
28 |
+
"stage1",
|
29 |
+
"stage2",
|
30 |
+
"stage3",
|
31 |
"stage4"
|
32 |
],
|
33 |
"out_indices": [
|
34 |
+
1,
|
35 |
+
2,
|
36 |
+
3,
|
37 |
4
|
38 |
],
|
39 |
"path_norm": true,
|
40 |
"pretrain_img_size": 384,
|
41 |
"window_size": 12
|
42 |
},
|
43 |
+
"backbone_kwargs": null,
|
44 |
"ce_weight": 1.0,
|
45 |
"cross_entropy_weight": 1.0,
|
46 |
"decoder_config": {
|
|
|
365 |
"num_queries": 100,
|
366 |
"output_auxiliary_logits": null,
|
367 |
"torch_dtype": "float32",
|
368 |
+
"transformers_version": "4.41.2",
|
369 |
+
"use_auxiliary_loss": false,
|
370 |
+
"use_pretrained_backbone": false,
|
371 |
+
"use_timm_backbone": false
|
372 |
}
|