schrilax commited on
Commit
1bd7c16
1 Parent(s): 85069d1

Upload SegformerForSemanticSegmentation

Browse files
Files changed (2) hide show
  1. config.json +84 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nvidia/segformer-b0-finetuned-ade-512-512",
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": 0,
32
+ "1": 1,
33
+ "2": 2,
34
+ "3": 3,
35
+ "4": 4
36
+ },
37
+ "image_size": 224,
38
+ "initializer_range": 0.02,
39
+ "label2id": {
40
+ "0": "0",
41
+ "1": "1",
42
+ "2": "2",
43
+ "3": "3",
44
+ "4": "4"
45
+ },
46
+ "layer_norm_eps": 1e-06,
47
+ "mlp_ratios": [
48
+ 4,
49
+ 4,
50
+ 4,
51
+ 4
52
+ ],
53
+ "model_type": "segformer",
54
+ "num_attention_heads": [
55
+ 1,
56
+ 2,
57
+ 5,
58
+ 8
59
+ ],
60
+ "num_channels": 3,
61
+ "num_encoder_blocks": 4,
62
+ "patch_sizes": [
63
+ 7,
64
+ 3,
65
+ 3,
66
+ 3
67
+ ],
68
+ "reshape_last_stage": true,
69
+ "semantic_loss_ignore_index": 255,
70
+ "sr_ratios": [
71
+ 8,
72
+ 4,
73
+ 2,
74
+ 1
75
+ ],
76
+ "strides": [
77
+ 4,
78
+ 2,
79
+ 2,
80
+ 2
81
+ ],
82
+ "torch_dtype": "float32",
83
+ "transformers_version": "4.22.2"
84
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e367bc8bec1532f673346a76d93add306c40587c0a38e1be8962460a41c0842
3
+ size 14933025