hf-transformers-bot commited on
Commit
856d160
·
verified ·
1 Parent(s): b7c8e36

Update tiny models for UperNetForSemanticSegmentation

Browse files
Files changed (3) hide show
  1. config.json +77 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "UperNetForSemanticSegmentation"
4
+ ],
5
+ "auxiliary_channels": 32,
6
+ "auxiliary_concat_input": false,
7
+ "auxiliary_in_channels": 40,
8
+ "auxiliary_loss_weight": 0.4,
9
+ "auxiliary_num_convs": 1,
10
+ "backbone": null,
11
+ "backbone_config": {
12
+ "depths": [
13
+ 1,
14
+ 1,
15
+ 1,
16
+ 1
17
+ ],
18
+ "drop_path_rate": 0.0,
19
+ "hidden_act": "gelu",
20
+ "hidden_sizes": [
21
+ 10,
22
+ 20,
23
+ 30,
24
+ 40
25
+ ],
26
+ "image_size": 224,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 37,
29
+ "is_training": true,
30
+ "layer_norm_eps": 1e-12,
31
+ "layer_scale_init_value": 1e-06,
32
+ "model_type": "convnext",
33
+ "num_channels": 3,
34
+ "num_stages": 4,
35
+ "out_features": [
36
+ "stage2",
37
+ "stage3",
38
+ "stage4"
39
+ ],
40
+ "out_indices": [
41
+ 2,
42
+ 3,
43
+ 4
44
+ ],
45
+ "patch_size": 4,
46
+ "stage_names": [
47
+ "stem",
48
+ "stage1",
49
+ "stage2",
50
+ "stage3",
51
+ "stage4"
52
+ ]
53
+ },
54
+ "dtype": "float32",
55
+ "hidden_size": 64,
56
+ "id2label": {
57
+ "0": "LABEL_0",
58
+ "1": "LABEL_1",
59
+ "2": "LABEL_2"
60
+ },
61
+ "initializer_range": 0.02,
62
+ "label2id": {
63
+ "LABEL_0": 0,
64
+ "LABEL_1": 1,
65
+ "LABEL_2": 2
66
+ },
67
+ "loss_ignore_index": 255,
68
+ "model_type": "upernet",
69
+ "pool_scales": [
70
+ 1,
71
+ 2,
72
+ 3,
73
+ 6
74
+ ],
75
+ "transformers_version": "5.16.0.dev0",
76
+ "use_auxiliary_head": true
77
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:179f2964dea168d3fefa71a96f0eb10982e08e15c874d7297139ffb79b88c864
3
+ size 1699992
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_reduce_labels": false,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "SegformerImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 512,
21
+ "width": 512
22
+ }
23
+ }