ericyu commited on
Commit
548a16d
1 Parent(s): 77ac617

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_B",
3
+ "_name_or_path": "archived/minenetcd_upernet_Swin_Diff_B_Pretrained_ChannelMixing_Dropout",
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": 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": 128,
23
+ "encoder_stride": 32,
24
+ "hidden_act": "gelu",
25
+ "hidden_dropout_prob": 0.0,
26
+ "hidden_size": 1024,
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
+ 4,
34
+ 8,
35
+ 16,
36
+ 32
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": 12
56
+ },
57
+ "backbone_kwargs": null,
58
+ "channel_mixing": true,
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:ff2cfaff44493c049a694bef17eb42083e012a868551f86f351dcaa63a3b9335
3
+ size 494924800