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-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_sidewalk_path",
|
32 |
+
"1": "human",
|
33 |
+
"2": "vehicles",
|
34 |
+
"3": "other_objects",
|
35 |
+
"4": "nature_background"
|
36 |
+
},
|
37 |
+
"image_size": 224,
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"label2id": {
|
40 |
+
"human": 1,
|
41 |
+
"nature_background": 4,
|
42 |
+
"other_objects": 3,
|
43 |
+
"road_sidewalk_path": 0,
|
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.22.1"
|
84 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53c41a7ec9698d9356befc4afedc3370038fefe21908b53aa8d73aee8d03b07f
|
3 |
+
size 14933025
|