hf-transformers-bot commited on
Commit
a1afd90
·
verified ·
1 Parent(s): 4db0ee2

Update tiny models for Sapiens2ForPoseEstimation

Browse files
Files changed (3) hide show
  1. config.json +143 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +29 -0
config.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Sapiens2ForPoseEstimation"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "drop_path_rate": 0.0,
8
+ "dtype": "float32",
9
+ "flip_pairs": [
10
+ [
11
+ 1,
12
+ 2
13
+ ],
14
+ [
15
+ 3,
16
+ 4
17
+ ]
18
+ ],
19
+ "head_config": {
20
+ "_name_or_path": "",
21
+ "architectures": null,
22
+ "chunk_size_feed_forward": 0,
23
+ "conv_kernel_size": 1,
24
+ "conv_kernel_sizes": [
25
+ 1,
26
+ 1,
27
+ 1
28
+ ],
29
+ "conv_out_channels": [
30
+ 4,
31
+ 4,
32
+ 4
33
+ ],
34
+ "dtype": null,
35
+ "id2label": {
36
+ "0": "LABEL_0",
37
+ "1": "LABEL_1"
38
+ },
39
+ "is_encoder_decoder": false,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1
43
+ },
44
+ "model_type": "sapiens2_head",
45
+ "output_attentions": false,
46
+ "output_hidden_states": false,
47
+ "problem_type": null,
48
+ "return_dict": true,
49
+ "scale_conv_kernel_size": 1,
50
+ "scale_conv_kernel_sizes": [
51
+ 1,
52
+ 1,
53
+ 1
54
+ ],
55
+ "scale_conv_out_channels": [
56
+ 8,
57
+ 4,
58
+ 4
59
+ ],
60
+ "scale_final_hidden_sizes": [
61
+ 8,
62
+ 4
63
+ ],
64
+ "scale_final_input_size": 16,
65
+ "upsample_kernel_size": 4,
66
+ "upsample_kernel_sizes": [
67
+ 4,
68
+ 4,
69
+ 4,
70
+ 4
71
+ ],
72
+ "upsample_out_channels": [
73
+ 8,
74
+ 4,
75
+ 4,
76
+ 4
77
+ ],
78
+ "use_pixel_shuffle": null
79
+ },
80
+ "hidden_act": "gelu",
81
+ "hidden_dropout_prob": 0.1,
82
+ "hidden_size": 32,
83
+ "id2label": {
84
+ "0": "LABEL_0",
85
+ "1": "LABEL_1",
86
+ "2": "LABEL_2",
87
+ "3": "LABEL_3"
88
+ },
89
+ "image_size": 30,
90
+ "initializer_range": 0.02,
91
+ "intermediate_size": 37,
92
+ "is_decoder": false,
93
+ "key_bias": true,
94
+ "label2id": {
95
+ "LABEL_0": 0,
96
+ "LABEL_1": 1,
97
+ "LABEL_2": 2,
98
+ "LABEL_3": 3
99
+ },
100
+ "layerscale_value": 1.0,
101
+ "mlp_bias": true,
102
+ "model_type": "sapiens2",
103
+ "normalize_backbone_outputs": true,
104
+ "num_attention_heads": 4,
105
+ "num_channels": 3,
106
+ "num_first_full_attention_layers": 8,
107
+ "num_hidden_layers": 2,
108
+ "num_key_value_attention_heads": 8,
109
+ "num_key_value_heads_per_layer": [
110
+ 4,
111
+ 4
112
+ ],
113
+ "num_last_full_attention_layers": 8,
114
+ "num_register_tokens": 2,
115
+ "out_features": [
116
+ "stem",
117
+ "stage1"
118
+ ],
119
+ "out_indices": [
120
+ 0,
121
+ 1
122
+ ],
123
+ "patch_size": 2,
124
+ "pos_embed_jitter": null,
125
+ "pos_embed_rescale": 2.0,
126
+ "pos_embed_shift": null,
127
+ "proj_bias": true,
128
+ "query_bias": true,
129
+ "reshape_hidden_states": true,
130
+ "rms_norm_eps": 1e-06,
131
+ "rope_theta": 100.0,
132
+ "semantic_loss_ignore_index": 255,
133
+ "stage_names": [
134
+ "stem",
135
+ "stage1",
136
+ "stage2"
137
+ ],
138
+ "transformers_version": "5.16.0.dev0",
139
+ "use_gated_mlp": true,
140
+ "use_mask_token": false,
141
+ "use_qk_norm": true,
142
+ "value_bias": true
143
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a313cee3a13415b5287bdae5adbcc0f83e4d79ac09a5cd09fdc685e72a53f49
3
+ size 91912
preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 30,
4
+ "width": 30
5
+ },
6
+ "do_center_crop": false,
7
+ "do_normalize": true,
8
+ "do_pad": false,
9
+ "do_reduce_labels": false,
10
+ "do_rescale": true,
11
+ "do_resize": true,
12
+ "image_mean": [
13
+ 0.485,
14
+ 0.456,
15
+ 0.406
16
+ ],
17
+ "image_processor_type": "Sapiens2ImageProcessor",
18
+ "image_std": [
19
+ 0.229,
20
+ 0.224,
21
+ 0.225
22
+ ],
23
+ "resample": 2,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "height": 30,
27
+ "width": 30
28
+ }
29
+ }