ericyu commited on
Commit
9c07471
1 Parent(s): bf1b212

Upload UperNetForSemanticSegmentation

Browse files
Files changed (2) hide show
  1. config.json +70 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Backbone_type": "Swin_Diff_T",
3
+ "_name_or_path": "archived/minenetcd_upernet_Swin_Diff_T_Pretrained",
4
+ "architectures": [
5
+ "UperNetForSemanticSegmentation"
6
+ ],
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_in_channels": 512,
10
+ "auxiliary_loss_weight": 0.4,
11
+ "auxiliary_num_convs": 1,
12
+ "backbone_config": {
13
+ "attention_probs_dropout_prob": 0.0,
14
+ "depths": [
15
+ 2,
16
+ 2,
17
+ 18,
18
+ 2
19
+ ],
20
+ "drop_path_rate": 0.1,
21
+ "embed_dim": 128,
22
+ "encoder_stride": 32,
23
+ "hidden_act": "gelu",
24
+ "hidden_dropout_prob": 0.0,
25
+ "hidden_size": 1024,
26
+ "image_size": 224,
27
+ "initializer_range": 0.02,
28
+ "layer_norm_eps": 1e-05,
29
+ "mlp_ratio": 4.0,
30
+ "model_type": "swin",
31
+ "num_heads": [
32
+ 4,
33
+ 8,
34
+ 16,
35
+ 32
36
+ ],
37
+ "num_layers": 4,
38
+ "out_features": [
39
+ "stage1",
40
+ "stage2",
41
+ "stage3",
42
+ "stage4"
43
+ ],
44
+ "out_indices": [
45
+ 1,
46
+ 2,
47
+ 3,
48
+ 4
49
+ ],
50
+ "patch_size": 4,
51
+ "path_norm": true,
52
+ "qkv_bias": true,
53
+ "use_absolute_embeddings": false,
54
+ "window_size": 12
55
+ },
56
+ "channel_mixing": false,
57
+ "hidden_size": 512,
58
+ "initializer_range": 0.02,
59
+ "loss_ignore_index": 255,
60
+ "model_type": "upernet",
61
+ "pool_scales": [
62
+ 1,
63
+ 2,
64
+ 3,
65
+ 6
66
+ ],
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.36.0",
69
+ "use_auxiliary_head": true
70
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d8fdd89c2f49be4a92177251ea03efbb9ba5733c876ebe35ae0daaaa45f5432
3
+ size 489305784