nagarajuthirupathi commited on
Commit
a0da4bc
·
verified ·
1 Parent(s): a65e9d3

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +141 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +26 -0
config.json ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MaskFormerForInstanceSegmentation"
4
+ ],
5
+ "backbone": null,
6
+ "backbone_config": {
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "depths": [
9
+ 2,
10
+ 2,
11
+ 18,
12
+ 2
13
+ ],
14
+ "drop_path_rate": 0.3,
15
+ "embed_dim": 192,
16
+ "encoder_stride": 32,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.0,
19
+ "hidden_size": 1536,
20
+ "image_size": 384,
21
+ "in_channels": 3,
22
+ "initializer_range": 0.02,
23
+ "layer_norm_eps": 1e-05,
24
+ "mlp_ratio": 4.0,
25
+ "model_type": "maskformer-swin",
26
+ "num_channels": 3,
27
+ "num_heads": [
28
+ 6,
29
+ 12,
30
+ 24,
31
+ 48
32
+ ],
33
+ "num_layers": 4,
34
+ "out_features": [
35
+ "stage1",
36
+ "stage2",
37
+ "stage3",
38
+ "stage4"
39
+ ],
40
+ "out_indices": [
41
+ 1,
42
+ 2,
43
+ 3,
44
+ 4
45
+ ],
46
+ "patch_size": 4,
47
+ "path_norm": true,
48
+ "pretrain_img_size": 384,
49
+ "qkv_bias": true,
50
+ "stage_names": [
51
+ "stem",
52
+ "stage1",
53
+ "stage2",
54
+ "stage3",
55
+ "stage4"
56
+ ],
57
+ "use_absolute_embeddings": false,
58
+ "window_size": 12
59
+ },
60
+ "backbone_kwargs": null,
61
+ "ce_weight": 1.0,
62
+ "cross_entropy_weight": 1.0,
63
+ "decoder_config": {
64
+ "activation_dropout": 0.0,
65
+ "activation_function": "relu",
66
+ "attention_dropout": 0.0,
67
+ "auxiliary_loss": false,
68
+ "backbone": "resnet50",
69
+ "backbone_config": null,
70
+ "backbone_kwargs": {
71
+ "in_chans": 3,
72
+ "out_indices": [
73
+ 1,
74
+ 2,
75
+ 3,
76
+ 4
77
+ ]
78
+ },
79
+ "bbox_cost": 5,
80
+ "bbox_loss_coefficient": 5,
81
+ "class_cost": 1,
82
+ "d_model": 256,
83
+ "decoder_attention_heads": 8,
84
+ "decoder_ffn_dim": 2048,
85
+ "decoder_layerdrop": 0.0,
86
+ "decoder_layers": 6,
87
+ "dice_loss_coefficient": 1,
88
+ "dilation": false,
89
+ "dropout": 0.1,
90
+ "encoder_attention_heads": 8,
91
+ "encoder_ffn_dim": 2048,
92
+ "encoder_layerdrop": 0.0,
93
+ "encoder_layers": 6,
94
+ "eos_coefficient": 0.1,
95
+ "giou_cost": 2,
96
+ "giou_loss_coefficient": 2,
97
+ "init_std": 0.02,
98
+ "init_xavier_std": 1.0,
99
+ "mask_loss_coefficient": 1,
100
+ "max_position_embeddings": 1024,
101
+ "model_type": "detr",
102
+ "num_channels": 3,
103
+ "num_hidden_layers": 6,
104
+ "num_queries": 100,
105
+ "position_embedding_type": "sine",
106
+ "scale_embedding": false,
107
+ "use_pretrained_backbone": true,
108
+ "use_timm_backbone": true
109
+ },
110
+ "dice_weight": 1.0,
111
+ "fpn_feature_size": 256,
112
+ "id2label": {
113
+ "0": "floor",
114
+ "1": "door",
115
+ "2": "blinds",
116
+ "3": "curtain",
117
+ "4": "windowpane"
118
+ },
119
+ "init_std": 0.02,
120
+ "init_xavier_std": 1.0,
121
+ "label2id": {
122
+ "blinds": 2,
123
+ "curtain": 3,
124
+ "door": 1,
125
+ "floor": 0,
126
+ "windowpane": 4
127
+ },
128
+ "mask_feature_size": 256,
129
+ "mask_weight": 20.0,
130
+ "model_type": "maskformer",
131
+ "no_object_weight": 0.1,
132
+ "num_attention_heads": 8,
133
+ "num_hidden_layers": 6,
134
+ "num_queries": 100,
135
+ "output_auxiliary_logits": null,
136
+ "torch_dtype": "float32",
137
+ "transformers_version": "4.51.3",
138
+ "use_auxiliary_loss": false,
139
+ "use_pretrained_backbone": false,
140
+ "use_timm_backbone": false
141
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3d9c8d0f547acf643963d9b5c20f27fcd85ba1e647498c9815abe0e7b4ec6ec
3
+ size 850245840
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_reduce_labels": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "ignore_index": 255,
7
+ "image_mean": [
8
+ 0.48500001430511475,
9
+ 0.4560000002384186,
10
+ 0.4059999883174896
11
+ ],
12
+ "image_processor_type": "MaskFormerImageProcessor",
13
+ "image_std": [
14
+ 0.2290000021457672,
15
+ 0.2239999920129776,
16
+ 0.22499999403953552
17
+ ],
18
+ "num_labels": null,
19
+ "resample": 2,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 512,
23
+ "width": 512
24
+ },
25
+ "size_divisor": 32
26
+ }