gdurkin commited on
Commit
2715dc4
1 Parent(s): 67243ec

Upload SegformerForSemanticSegmentation

Browse files
Files changed (2) hide show
  1. config.json +94 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "segformer-b0-CDL-S2-May19-v1-outputs/checkpoint-119450",
3
+ "architectures": [
4
+ "SegformerForSemanticSegmentation"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "classifier_dropout_prob": 0.1,
8
+ "decoder_hidden_size": 256,
9
+ "depths": [
10
+ 2,
11
+ 2,
12
+ 2,
13
+ 2
14
+ ],
15
+ "downsampling_rates": [
16
+ 1,
17
+ 4,
18
+ 8,
19
+ 16
20
+ ],
21
+ "drop_path_rate": 0.1,
22
+ "hidden_act": "gelu",
23
+ "hidden_dropout_prob": 0.0,
24
+ "hidden_sizes": [
25
+ 32,
26
+ 64,
27
+ 160,
28
+ 256
29
+ ],
30
+ "id2label": {
31
+ "0": "background",
32
+ "1": "water",
33
+ "2": "developed",
34
+ "3": "corn",
35
+ "4": "soybeans",
36
+ "5": "wheat",
37
+ "6": "other agriculture",
38
+ "7": "forest/wetlands",
39
+ "8": "open lands",
40
+ "9": "barren"
41
+ },
42
+ "image_size": 224,
43
+ "initializer_range": 0.02,
44
+ "label2id": {
45
+ "background": 0,
46
+ "barren": 9,
47
+ "corn": 3,
48
+ "developed": 2,
49
+ "forest/wetlands": 7,
50
+ "open lands": 8,
51
+ "other agriculture": 6,
52
+ "soybeans": 4,
53
+ "water": 1,
54
+ "wheat": 5
55
+ },
56
+ "layer_norm_eps": 1e-06,
57
+ "mlp_ratios": [
58
+ 4,
59
+ 4,
60
+ 4,
61
+ 4
62
+ ],
63
+ "model_type": "segformer",
64
+ "num_attention_heads": [
65
+ 1,
66
+ 2,
67
+ 5,
68
+ 8
69
+ ],
70
+ "num_channels": 3,
71
+ "num_encoder_blocks": 4,
72
+ "patch_sizes": [
73
+ 7,
74
+ 3,
75
+ 3,
76
+ 3
77
+ ],
78
+ "reshape_last_stage": true,
79
+ "semantic_loss_ignore_index": 0,
80
+ "sr_ratios": [
81
+ 8,
82
+ 4,
83
+ 2,
84
+ 1
85
+ ],
86
+ "strides": [
87
+ 4,
88
+ 2,
89
+ 2,
90
+ 2
91
+ ],
92
+ "torch_dtype": "float32",
93
+ "transformers_version": "4.37.0.dev0"
94
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c44bff41ca2c47ce779668b36d2477b4d7bb0a6a0665687cc3eb9af30d2351b1
3
+ size 14893008