Steven4565
commited on
Commit
•
beee1ca
1
Parent(s):
3a02c2b
Upload SegformerForSemanticSegmentation
Browse files- config.json +84 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2",
|
34 |
+
"3": "LABEL_3",
|
35 |
+
"4": "LABEL_4"
|
36 |
+
},
|
37 |
+
"image_size": 224,
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"label2id": {
|
40 |
+
"LABEL_0": 0,
|
41 |
+
"LABEL_1": 1,
|
42 |
+
"LABEL_2": 2,
|
43 |
+
"LABEL_3": 3,
|
44 |
+
"LABEL_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": 6,
|
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.30.2"
|
84 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca430e176ab05ed79909d138182f166c9f8bdb0d7489c5a4b93d7975d338ff64
|
3 |
+
size 338840265
|