gdurkin commited on
Commit
140f53c
1 Parent(s): 3493494

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-lulc-S2-channel_mix-in-May03-v1-outputs/checkpoint-25850",
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": "missing",
32
+ "1": "water",
33
+ "2": "trees",
34
+ "3": " flooded vegetation",
35
+ "4": "crops",
36
+ "5": "built area",
37
+ "6": "bare ground",
38
+ "7": "snow/ice",
39
+ "8": "clouds",
40
+ "9": "rangeland"
41
+ },
42
+ "image_size": 224,
43
+ "initializer_range": 0.02,
44
+ "label2id": {
45
+ " flooded vegetation": 3,
46
+ "bare ground": 6,
47
+ "built area": 5,
48
+ "clouds": 8,
49
+ "crops": 4,
50
+ "missing": 0,
51
+ "rangeland": 9,
52
+ "snow/ice": 7,
53
+ "trees": 2,
54
+ "water": 1
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:49fe1f4b59a37d628c3c759594952339e35389680c883358a94b3a6596eb55b9
3
+ size 14893008