gdurkin commited on
Commit
1c1fcfd
1 Parent(s): 30e3ce9

Upload MaskFormerForInstanceSegmentation

Browse files
Files changed (2) hide show
  1. config.json +81 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/maskformer-swin-base-ade",
3
+ "architectures": [
4
+ "MaskFormerForInstanceSegmentation"
5
+ ],
6
+ "backbone_config": {
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.3,
14
+ "embed_dim": 128,
15
+ "hidden_size": 1024,
16
+ "image_size": 384,
17
+ "in_channels": 3,
18
+ "model_type": "swin",
19
+ "num_heads": [
20
+ 4,
21
+ 8,
22
+ 16,
23
+ 32
24
+ ],
25
+ "out_features": [
26
+ "stage4"
27
+ ],
28
+ "out_indices": [
29
+ 4
30
+ ],
31
+ "path_norm": true,
32
+ "pretrain_img_size": 384,
33
+ "window_size": 12
34
+ },
35
+ "ce_weight": 1.0,
36
+ "cross_entropy_weight": 1.0,
37
+ "decoder_config": {
38
+ "max_position_embeddings": 1024,
39
+ "model_type": "detr",
40
+ "scale_embedding": false
41
+ },
42
+ "dice_weight": 1.0,
43
+ "fpn_feature_size": 256,
44
+ "id2label": {
45
+ "0": "background",
46
+ "1": "water",
47
+ "2": "developed",
48
+ "3": "corn",
49
+ "4": "soybeans",
50
+ "5": "wheat",
51
+ "6": "other agriculture",
52
+ "7": "forest/wetlands",
53
+ "8": "open lands",
54
+ "9": "barren"
55
+ },
56
+ "init_std": 0.02,
57
+ "init_xavier_std": 1.0,
58
+ "label2id": {
59
+ "background": 0,
60
+ "barren": 9,
61
+ "corn": 3,
62
+ "developed": 2,
63
+ "forest/wetlands": 7,
64
+ "open lands": 8,
65
+ "other agriculture": 6,
66
+ "soybeans": 4,
67
+ "water": 1,
68
+ "wheat": 5
69
+ },
70
+ "mask_feature_size": 256,
71
+ "mask_weight": 20.0,
72
+ "model_type": "maskformer",
73
+ "no_object_weight": 0.1,
74
+ "num_attention_heads": 8,
75
+ "num_hidden_layers": 6,
76
+ "num_queries": 100,
77
+ "output_auxiliary_logits": null,
78
+ "torch_dtype": "float32",
79
+ "transformers_version": "4.37.0.dev0",
80
+ "use_auxiliary_loss": false
81
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efe33ceafa1bdf42425fa82bf33671c35e7613a2786d6fc4ea09fad2a2dd4826
3
+ size 411261832