kelleron2 commited on
Commit
b7ac0eb
·
verified ·
1 Parent(s): fd17e73

Upload SegformerForSemanticSegmentation

Browse files
Files changed (2) hide show
  1. config.json +83 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SegformerForSemanticSegmentation"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "classifier_dropout_prob": 0.1,
7
+ "decoder_hidden_size": 768,
8
+ "depths": [
9
+ 3,
10
+ 6,
11
+ 40,
12
+ 3
13
+ ],
14
+ "downsampling_rates": [
15
+ 1,
16
+ 4,
17
+ 8,
18
+ 16
19
+ ],
20
+ "drop_path_rate": 0.1,
21
+ "hidden_act": "gelu",
22
+ "hidden_dropout_prob": 0.0,
23
+ "hidden_sizes": [
24
+ 64,
25
+ 128,
26
+ 320,
27
+ 512
28
+ ],
29
+ "id2label": {
30
+ "0": "__background__",
31
+ "1": "Junction",
32
+ "2": "process",
33
+ "3": "soma",
34
+ "4": "spine"
35
+ },
36
+ "image_size": 224,
37
+ "initializer_range": 0.02,
38
+ "label2id": {
39
+ "Junction": 1,
40
+ "__background__": 0,
41
+ "process": 2,
42
+ "soma": 3,
43
+ "spine": 4
44
+ },
45
+ "layer_norm_eps": 1e-06,
46
+ "mlp_ratios": [
47
+ 4,
48
+ 4,
49
+ 4,
50
+ 4
51
+ ],
52
+ "model_type": "segformer",
53
+ "num_attention_heads": [
54
+ 1,
55
+ 2,
56
+ 5,
57
+ 8
58
+ ],
59
+ "num_channels": 3,
60
+ "num_encoder_blocks": 4,
61
+ "patch_sizes": [
62
+ 7,
63
+ 3,
64
+ 3,
65
+ 3
66
+ ],
67
+ "reshape_last_stage": true,
68
+ "semantic_loss_ignore_index": 255,
69
+ "sr_ratios": [
70
+ 8,
71
+ 4,
72
+ 2,
73
+ 1
74
+ ],
75
+ "strides": [
76
+ 4,
77
+ 2,
78
+ 2,
79
+ 2
80
+ ],
81
+ "torch_dtype": "float32",
82
+ "transformers_version": "4.50.1"
83
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f402d4ea085b271955ee8017adb90394d00ea16089b64885d8247ce561b18d4
3
+ size 338537668