HighRoller commited on
Commit
121fcde
·
1 Parent(s): 7c96eb1

Upload SegformerForSemanticSegmentation

Browse files
Files changed (2) hide show
  1. config.json +70 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nvidia/mit-b0",
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
+ "image_size": 224,
31
+ "initializer_range": 0.02,
32
+ "layer_norm_eps": 1e-06,
33
+ "mlp_ratios": [
34
+ 4,
35
+ 4,
36
+ 4,
37
+ 4
38
+ ],
39
+ "model_type": "segformer",
40
+ "num_attention_heads": [
41
+ 1,
42
+ 2,
43
+ 5,
44
+ 8
45
+ ],
46
+ "num_channels": 3,
47
+ "num_encoder_blocks": 4,
48
+ "patch_sizes": [
49
+ 7,
50
+ 3,
51
+ 3,
52
+ 3
53
+ ],
54
+ "reshape_last_stage": true,
55
+ "semantic_loss_ignore_index": 255,
56
+ "sr_ratios": [
57
+ 8,
58
+ 4,
59
+ 2,
60
+ 1
61
+ ],
62
+ "strides": [
63
+ 4,
64
+ 2,
65
+ 2,
66
+ 2
67
+ ],
68
+ "torch_dtype": "float32",
69
+ "transformers_version": "4.34.0"
70
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:140392c60bf2c6689b2f80096388b8c47bc5ef043ed1e1c3a1416dd9bfdab890
3
+ size 14931789