ericyu commited on
Commit
760d44c
1 Parent(s): 558f493

Upload UperNetForSemanticSegmentation

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