peldrak commited on
Commit
7dcc847
1 Parent(s): 7452a4f

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": "/kaggle/working/saved_model_epoch19",
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": 192,
15
+ "hidden_size": 1536,
16
+ "image_size": 384,
17
+ "in_channels": 3,
18
+ "model_type": "swin",
19
+ "num_heads": [
20
+ 6,
21
+ 12,
22
+ 24,
23
+ 48
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": "water",
46
+ "1": "whitewater",
47
+ "2": "sand",
48
+ "3": "rocky_terrain",
49
+ "4": "agricultural",
50
+ "5": "vegetation",
51
+ "6": "road",
52
+ "7": "development",
53
+ "8": "other_natural_terrain",
54
+ "9": "unknown"
55
+ },
56
+ "init_std": 0.02,
57
+ "init_xavier_std": 1.0,
58
+ "label2id": {
59
+ "agricultural": 4,
60
+ "development": 7,
61
+ "other_natural_terrain": 8,
62
+ "road": 6,
63
+ "rocky_terrain": 3,
64
+ "sand": 2,
65
+ "unknown": 9,
66
+ "vegetation": 5,
67
+ "water": 0,
68
+ "whitewater": 1
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.35.0",
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:e693fe8e87e1bcddeebbcdf922398f59d28dcaf91f9826a4205318cb11afc9f0
3
+ size 850251000