chendelong commited on
Commit
093a3a9
·
verified ·
1 Parent(s): 74875d3

Upload SegformerForSemanticSegmentation

Browse files
Files changed (2) hide show
  1. config.json +76 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/dchenbs/workspace/DirectSAM/runs/DSA_gen3/1025-2027-1024px-from-chendelong_DirectSAM-b0-1024px-sa1b-2ep-1016/checkpoint-507600",
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": "LABEL_0"
32
+ },
33
+ "image_size": 224,
34
+ "initializer_range": 0.02,
35
+ "label2id": {
36
+ "LABEL_0": 0
37
+ },
38
+ "layer_norm_eps": 1e-06,
39
+ "mlp_ratios": [
40
+ 4,
41
+ 4,
42
+ 4,
43
+ 4
44
+ ],
45
+ "model_type": "segformer",
46
+ "num_attention_heads": [
47
+ 1,
48
+ 2,
49
+ 5,
50
+ 8
51
+ ],
52
+ "num_channels": 3,
53
+ "num_encoder_blocks": 4,
54
+ "patch_sizes": [
55
+ 7,
56
+ 3,
57
+ 3,
58
+ 3
59
+ ],
60
+ "reshape_last_stage": true,
61
+ "semantic_loss_ignore_index": 255,
62
+ "sr_ratios": [
63
+ 8,
64
+ 4,
65
+ 2,
66
+ 1
67
+ ],
68
+ "strides": [
69
+ 4,
70
+ 2,
71
+ 2,
72
+ 2
73
+ ],
74
+ "torch_dtype": "float32",
75
+ "transformers_version": "4.32.1"
76
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c1dac1eb43e26294ea3ec0e00a111bf31738cd8a5b6b4f28040f0b08054f5c5
3
+ size 14928330