edangx100 commited on
Commit
1adda75
1 Parent(s): 01545d0

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": "road",
32
+ "1": "human",
33
+ "2": "vehicles",
34
+ "3": "traffic lights",
35
+ "4": "background"
36
+ },
37
+ "image_size": 224,
38
+ "initializer_range": 0.02,
39
+ "label2id": {
40
+ "background": 4,
41
+ "human": 1,
42
+ "road": 0,
43
+ "traffic lights": 3,
44
+ "vehicles": 2
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.28.1"
84
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c652a6190e8a03954fea16b67e1d067b09c71f43bed07c3aad8b0234713577e3
3
+ size 14934861