Upload folder using huggingface_hub
Browse files- README.md +9 -0
- config.json +145 -0
- onnx/model.onnx +3 -0
- onnx/model_bnb4.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int8.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_q4f16.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
- preprocessor_config.json +22 -0
- quantize_config.json +18 -0
README.md
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers.js
|
3 |
+
base_model:
|
4 |
+
- usyd-community/vitpose-plus-small
|
5 |
+
---
|
6 |
+
|
7 |
+
# vitpose-plus-small (ONNX)
|
8 |
+
|
9 |
+
This is an ONNX version of [usyd-community/vitpose-plus-small](https://huggingface.co/usyd-community/vitpose-plus-small). It was automatically converted and uploaded using [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx).
|
config.json
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "usyd-community/vitpose-plus-small",
|
4 |
+
"architectures": [
|
5 |
+
"VitPoseForPoseEstimation"
|
6 |
+
],
|
7 |
+
"backbone": null,
|
8 |
+
"backbone_config": {
|
9 |
+
"hidden_size": 384,
|
10 |
+
"model_type": "vitpose_backbone",
|
11 |
+
"num_experts": 6,
|
12 |
+
"out_features": [
|
13 |
+
"stage12"
|
14 |
+
],
|
15 |
+
"out_indices": [
|
16 |
+
12
|
17 |
+
],
|
18 |
+
"part_features": 96
|
19 |
+
},
|
20 |
+
"backbone_kwargs": null,
|
21 |
+
"edges": [
|
22 |
+
[
|
23 |
+
15,
|
24 |
+
13
|
25 |
+
],
|
26 |
+
[
|
27 |
+
13,
|
28 |
+
11
|
29 |
+
],
|
30 |
+
[
|
31 |
+
16,
|
32 |
+
14
|
33 |
+
],
|
34 |
+
[
|
35 |
+
14,
|
36 |
+
12
|
37 |
+
],
|
38 |
+
[
|
39 |
+
11,
|
40 |
+
12
|
41 |
+
],
|
42 |
+
[
|
43 |
+
5,
|
44 |
+
11
|
45 |
+
],
|
46 |
+
[
|
47 |
+
6,
|
48 |
+
12
|
49 |
+
],
|
50 |
+
[
|
51 |
+
5,
|
52 |
+
6
|
53 |
+
],
|
54 |
+
[
|
55 |
+
5,
|
56 |
+
7
|
57 |
+
],
|
58 |
+
[
|
59 |
+
6,
|
60 |
+
8
|
61 |
+
],
|
62 |
+
[
|
63 |
+
7,
|
64 |
+
9
|
65 |
+
],
|
66 |
+
[
|
67 |
+
8,
|
68 |
+
10
|
69 |
+
],
|
70 |
+
[
|
71 |
+
1,
|
72 |
+
2
|
73 |
+
],
|
74 |
+
[
|
75 |
+
0,
|
76 |
+
1
|
77 |
+
],
|
78 |
+
[
|
79 |
+
0,
|
80 |
+
2
|
81 |
+
],
|
82 |
+
[
|
83 |
+
1,
|
84 |
+
3
|
85 |
+
],
|
86 |
+
[
|
87 |
+
2,
|
88 |
+
4
|
89 |
+
],
|
90 |
+
[
|
91 |
+
3,
|
92 |
+
5
|
93 |
+
],
|
94 |
+
[
|
95 |
+
4,
|
96 |
+
6
|
97 |
+
]
|
98 |
+
],
|
99 |
+
"id2label": {
|
100 |
+
"0": "Nose",
|
101 |
+
"1": "L_Eye",
|
102 |
+
"2": "R_Eye",
|
103 |
+
"3": "L_Ear",
|
104 |
+
"4": "R_Ear",
|
105 |
+
"5": "L_Shoulder",
|
106 |
+
"6": "R_Shoulder",
|
107 |
+
"7": "L_Elbow",
|
108 |
+
"8": "R_Elbow",
|
109 |
+
"9": "L_Wrist",
|
110 |
+
"10": "R_Wrist",
|
111 |
+
"11": "L_Hip",
|
112 |
+
"12": "R_Hip",
|
113 |
+
"13": "L_Knee",
|
114 |
+
"14": "R_Knee",
|
115 |
+
"15": "L_Ankle",
|
116 |
+
"16": "R_Ankle"
|
117 |
+
},
|
118 |
+
"initializer_range": 0.02,
|
119 |
+
"label2id": {
|
120 |
+
"L_Ankle": 15,
|
121 |
+
"L_Ear": 3,
|
122 |
+
"L_Elbow": 7,
|
123 |
+
"L_Eye": 1,
|
124 |
+
"L_Hip": 11,
|
125 |
+
"L_Knee": 13,
|
126 |
+
"L_Shoulder": 5,
|
127 |
+
"L_Wrist": 9,
|
128 |
+
"Nose": 0,
|
129 |
+
"R_Ankle": 16,
|
130 |
+
"R_Ear": 4,
|
131 |
+
"R_Elbow": 8,
|
132 |
+
"R_Eye": 2,
|
133 |
+
"R_Hip": 12,
|
134 |
+
"R_Knee": 14,
|
135 |
+
"R_Shoulder": 6,
|
136 |
+
"R_Wrist": 10
|
137 |
+
},
|
138 |
+
"model_type": "vitpose",
|
139 |
+
"scale_factor": 4,
|
140 |
+
"torch_dtype": "float32",
|
141 |
+
"transformers_version": "4.49.0",
|
142 |
+
"use_pretrained_backbone": false,
|
143 |
+
"use_simple_decoder": false,
|
144 |
+
"use_timm_backbone": false
|
145 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18a459bc68388ea13921acd0a7e71640779357579ab9a34e1e863f4981d7a419
|
3 |
+
size 132878404
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9512cbff750e756fc2e65e650aa7b49964f49ac9dc1dfd53a6c0a1ac093e7aff
|
3 |
+
size 29497247
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76356a3bd8ddc7664675ac0cd21184d6fbbc538a143fbabfb5d3444b7cddfae2
|
3 |
+
size 66589061
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:525aefd8e62797294dfa00f85f3297407eb32b22046ddd9af68ef8ada46e9c1d
|
3 |
+
size 42142357
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:780a2bf48c063323681759179c27a2fe6ae0ac54b15e492627921e7f8a97b99a
|
3 |
+
size 31376339
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9bc8a5b2e949088372ab308b9d4dd7919e501996177c6967ef5f02a3774d1bd
|
3 |
+
size 23368764
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91c6e9116422590af4fe03c49f8758f44adf9fd2855961274f31b88c3fcf4cd9
|
3 |
+
size 42142357
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91c6e9116422590af4fe03c49f8758f44adf9fd2855961274f31b88c3fcf4cd9
|
3 |
+
size 42142357
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_affine_transform": true,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "VitPoseImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"normalize_factor": 200.0,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 256,
|
20 |
+
"width": 192
|
21 |
+
}
|
22 |
+
}
|
quantize_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"modes": [
|
3 |
+
"fp16",
|
4 |
+
"q8",
|
5 |
+
"int8",
|
6 |
+
"uint8",
|
7 |
+
"q4",
|
8 |
+
"q4f16",
|
9 |
+
"bnb4"
|
10 |
+
],
|
11 |
+
"per_channel": true,
|
12 |
+
"reduce_range": true,
|
13 |
+
"block_size": null,
|
14 |
+
"is_symmetric": true,
|
15 |
+
"accuracy_level": null,
|
16 |
+
"quant_type": 1,
|
17 |
+
"op_block_list": null
|
18 |
+
}
|