yuyijiong commited on
Commit
07af79b
1 Parent(s): c6f1fbd

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +87 -87
config.json CHANGED
@@ -1,88 +1,88 @@
1
  {
2
- "_name_or_path": "nvidia/segformer-b5-finetuned-ade-640-640",
3
- "architectures": [
4
- "SegformerForSemanticSegmentation"
5
- ],
6
- "attention_probs_dropout_prob": 0.0,
7
- "classifier_dropout_prob": 0.1,
8
- "decoder_hidden_size": 768,
9
- "depths": [
10
- 3,
11
- 6,
12
- 40,
13
- 3
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
- 64,
26
- 128,
27
- 320,
28
- 512
29
- ],
30
- "id2label": {
31
- "0": "\u80cc\u666f",
32
- "1": "\u4e91",
33
- "2": "\u9634\u5f71",
34
- "3": "\u62c9\u82b1",
35
- "4": "\u6a21\u7cca",
36
- "5": "\u5149\u8c31\u6ea2\u51fa",
37
- "6": "\u626d\u66f2"
38
- },
39
- "image_size": 224,
40
- "initializer_range": 0.02,
41
- "label2id": {
42
- "\u4e91": 1,
43
- "\u5149\u8c31\u6ea2\u51fa": 5,
44
- "\u626d\u66f2": 6,
45
- "\u62c9\u82b1": 3,
46
- "\u6a21\u7cca": 4,
47
- "\u80cc\u666f": 0,
48
- "\u9634\u5f71": 2
49
- },
50
- "layer_norm_eps": 1e-06,
51
- "mlp_ratios": [
52
- 4,
53
- 4,
54
- 4,
55
- 4
56
- ],
57
- "model_type": "segformer",
58
- "num_attention_heads": [
59
- 1,
60
- 2,
61
- 5,
62
- 8
63
- ],
64
- "num_channels": 3,
65
- "num_encoder_blocks": 4,
66
- "patch_sizes": [
67
- 7,
68
- 3,
69
- 3,
70
- 3
71
- ],
72
- "reshape_last_stage": true,
73
- "semantic_loss_ignore_index": 255,
74
- "sr_ratios": [
75
- 8,
76
- 4,
77
- 2,
78
- 1
79
- ],
80
- "strides": [
81
- 4,
82
- 2,
83
- 2,
84
- 2
85
- ],
86
- "torch_dtype": "float32",
87
- "transformers_version": "4.28.1"
88
- }
 
1
  {
2
+ "_name_or_path": "nvidia/segformer-b5-finetuned-ade-640-640",
3
+ "architectures": [
4
+ "SegformerForSemanticSegmentation"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "classifier_dropout_prob": 0.1,
8
+ "decoder_hidden_size": 768,
9
+ "depths": [
10
+ 3,
11
+ 6,
12
+ 40,
13
+ 3
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
+ 64,
26
+ 128,
27
+ 320,
28
+ 512
29
+ ],
30
+ "id2label": {
31
+ "0": "背景",
32
+ "1": "",
33
+ "2": "阴影",
34
+ "3": "拉花",
35
+ "4": "模糊",
36
+ "5": "光谱溢出",
37
+ "6": "扭曲"
38
+ },
39
+ "image_size": 224,
40
+ "initializer_range": 0.02,
41
+ "label2id": {
42
+ "": 1,
43
+ "光谱溢出": 5,
44
+ "扭曲": 6,
45
+ "拉花": 3,
46
+ "模糊": 4,
47
+ "背景": 0,
48
+ "阴影": 2
49
+ },
50
+ "layer_norm_eps": 1e-06,
51
+ "mlp_ratios": [
52
+ 4,
53
+ 4,
54
+ 4,
55
+ 4
56
+ ],
57
+ "model_type": "segformer",
58
+ "num_attention_heads": [
59
+ 1,
60
+ 2,
61
+ 5,
62
+ 8
63
+ ],
64
+ "num_channels": 3,
65
+ "num_encoder_blocks": 4,
66
+ "patch_sizes": [
67
+ 7,
68
+ 3,
69
+ 3,
70
+ 3
71
+ ],
72
+ "reshape_last_stage": true,
73
+ "semantic_loss_ignore_index": 255,
74
+ "sr_ratios": [
75
+ 8,
76
+ 4,
77
+ 2,
78
+ 1
79
+ ],
80
+ "strides": [
81
+ 4,
82
+ 2,
83
+ 2,
84
+ 2
85
+ ],
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.28.1"
88
+ }