Your Name
commited on
Commit
•
52857f3
1
Parent(s):
1a21775
Upload files
Browse files- dw-ll_ucoco.onnx +3 -0
- dw-ll_ucoco/deploy.json +16 -0
- dw-ll_ucoco/detail.json +49 -0
- dw-ll_ucoco/output_onnxruntime.jpg +0 -0
- dw-ll_ucoco/output_pytorch.jpg +0 -0
- dw-ll_ucoco/pipeline.json +124 -0
- dw-ll_ucoco_384_fp16.onnx +3 -0
- dw-ll_ucoco_384_fp16/deploy.json +16 -0
- dw-ll_ucoco_384_fp16/detail.json +57 -0
- dw-ll_ucoco_384_fp16/output_onnxruntime.jpg +0 -0
- dw-ll_ucoco_384_fp16/output_pytorch.jpg +0 -0
- dw-ll_ucoco_384_fp16/pipeline.json +124 -0
- dw-ll_ucoco_fp16.onnx +3 -0
- dw-ll_ucoco_fp16/deploy.json +16 -0
- dw-ll_ucoco_fp16/detail.json +57 -0
- dw-ll_ucoco_fp16/output_onnxruntime.jpg +0 -0
- dw-ll_ucoco_fp16/output_pytorch.jpg +0 -0
- dw-ll_ucoco_fp16/pipeline.json +124 -0
- dw-mm_ucoco.onnx +3 -0
- dw-mm_ucoco/deploy.json +16 -0
- dw-mm_ucoco/detail.json +49 -0
- dw-mm_ucoco/output_onnxruntime.jpg +0 -0
- dw-mm_ucoco/output_pytorch.jpg +0 -0
- dw-mm_ucoco/pipeline.json +124 -0
- dw-mm_ucoco_fp16.onnx +3 -0
- dw-mm_ucoco_fp16/deploy.json +16 -0
- dw-mm_ucoco_fp16/detail.json +57 -0
- dw-mm_ucoco_fp16/output_onnxruntime.jpg +0 -0
- dw-mm_ucoco_fp16/output_pytorch.jpg +0 -0
- dw-mm_ucoco_fp16/pipeline.json +124 -0
- dw-ss_ucoco.onnx +3 -0
- dw-ss_ucoco/deploy.json +16 -0
- dw-ss_ucoco/detail.json +49 -0
- dw-ss_ucoco/output_onnxruntime.jpg +0 -0
- dw-ss_ucoco/output_pytorch.jpg +0 -0
- dw-ss_ucoco/pipeline.json +124 -0
- dw-ss_ucoco_fp16.onnx +3 -0
- dw-ss_ucoco_fp16/deploy.json +16 -0
- dw-ss_ucoco_fp16/detail.json +57 -0
- dw-ss_ucoco_fp16/output_onnxruntime.jpg +0 -0
- dw-ss_ucoco_fp16/output_pytorch.jpg +0 -0
- dw-ss_ucoco_fp16/pipeline.json +124 -0
dw-ll_ucoco.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed293847c4e50b37be905e3f2d6540b2c8fcfd1804deda98652053a4118f7254
|
3 |
+
size 133930533
|
dw-ll_ucoco/deploy.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"task": "PoseDetector",
|
4 |
+
"models": [
|
5 |
+
{
|
6 |
+
"name": "topdownposeestimator",
|
7 |
+
"net": "end2end.onnx",
|
8 |
+
"weights": "",
|
9 |
+
"backend": "onnxruntime",
|
10 |
+
"precision": "FP32",
|
11 |
+
"batch_size": 1,
|
12 |
+
"dynamic_shape": true
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"customs": []
|
16 |
+
}
|
dw-ll_ucoco/detail.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"codebase": {
|
4 |
+
"task": "PoseDetection",
|
5 |
+
"codebase": "mmpose",
|
6 |
+
"version": "1.2.0",
|
7 |
+
"pth": "/content/dwpose_ckpts/dw-ll_ucoco.pth",
|
8 |
+
"config": "mmpose/configs/wholebody_2d_keypoint/rtmpose/ubody/rtmpose-l_8xb64-270e_coco-ubody-wholebody-256x192.py"
|
9 |
+
},
|
10 |
+
"codebase_config": {
|
11 |
+
"type": "mmpose",
|
12 |
+
"task": "PoseDetection",
|
13 |
+
"export_postprocess": false
|
14 |
+
},
|
15 |
+
"onnx_config": {
|
16 |
+
"type": "onnx",
|
17 |
+
"export_params": true,
|
18 |
+
"keep_initializers_as_inputs": false,
|
19 |
+
"opset_version": 11,
|
20 |
+
"save_file": "end2end.onnx",
|
21 |
+
"input_names": [
|
22 |
+
"input"
|
23 |
+
],
|
24 |
+
"output_names": [
|
25 |
+
"simcc_x",
|
26 |
+
"simcc_y"
|
27 |
+
],
|
28 |
+
"input_shape": [
|
29 |
+
192,
|
30 |
+
256
|
31 |
+
],
|
32 |
+
"optimize": true,
|
33 |
+
"dynamic_axes": {
|
34 |
+
"input": {
|
35 |
+
"0": "batch"
|
36 |
+
},
|
37 |
+
"simcc_x": {
|
38 |
+
"0": "batch"
|
39 |
+
},
|
40 |
+
"simcc_y": {
|
41 |
+
"0": "batch"
|
42 |
+
}
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"backend_config": {
|
46 |
+
"type": "onnxruntime"
|
47 |
+
},
|
48 |
+
"calib_config": {}
|
49 |
+
}
|
dw-ll_ucoco/output_onnxruntime.jpg
ADDED
dw-ll_ucoco/output_pytorch.jpg
ADDED
dw-ll_ucoco/pipeline.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pipeline": {
|
3 |
+
"input": [
|
4 |
+
"img"
|
5 |
+
],
|
6 |
+
"output": [
|
7 |
+
"post_output"
|
8 |
+
],
|
9 |
+
"tasks": [
|
10 |
+
{
|
11 |
+
"type": "Task",
|
12 |
+
"module": "Transform",
|
13 |
+
"name": "Preprocess",
|
14 |
+
"input": [
|
15 |
+
"img"
|
16 |
+
],
|
17 |
+
"output": [
|
18 |
+
"prep_output"
|
19 |
+
],
|
20 |
+
"transforms": [
|
21 |
+
{
|
22 |
+
"type": "LoadImageFromFile"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"type": "TopDownGetBboxCenterScale",
|
26 |
+
"padding": 1.25,
|
27 |
+
"image_size": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
]
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"type": "TopDownAffine",
|
34 |
+
"image_size": [
|
35 |
+
192,
|
36 |
+
256
|
37 |
+
]
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"type": "Normalize",
|
41 |
+
"mean": [
|
42 |
+
123.675,
|
43 |
+
116.28,
|
44 |
+
103.53
|
45 |
+
],
|
46 |
+
"std": [
|
47 |
+
58.395,
|
48 |
+
57.12,
|
49 |
+
57.375
|
50 |
+
],
|
51 |
+
"to_rgb": true
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"type": "ImageToTensor",
|
55 |
+
"keys": [
|
56 |
+
"img"
|
57 |
+
]
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"type": "Collect",
|
61 |
+
"keys": [
|
62 |
+
"img"
|
63 |
+
],
|
64 |
+
"meta_keys": [
|
65 |
+
"img_shape",
|
66 |
+
"pad_shape",
|
67 |
+
"ori_shape",
|
68 |
+
"img_norm_cfg",
|
69 |
+
"scale_factor",
|
70 |
+
"bbox_score",
|
71 |
+
"center",
|
72 |
+
"scale"
|
73 |
+
]
|
74 |
+
}
|
75 |
+
]
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "topdownposeestimator",
|
79 |
+
"type": "Task",
|
80 |
+
"module": "Net",
|
81 |
+
"is_batched": true,
|
82 |
+
"input": [
|
83 |
+
"prep_output"
|
84 |
+
],
|
85 |
+
"output": [
|
86 |
+
"infer_output"
|
87 |
+
],
|
88 |
+
"input_map": {
|
89 |
+
"img": "input"
|
90 |
+
},
|
91 |
+
"output_map": {}
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"type": "Task",
|
95 |
+
"module": "mmpose",
|
96 |
+
"name": "postprocess",
|
97 |
+
"component": "SimCCLabelDecode",
|
98 |
+
"params": {
|
99 |
+
"flip_test": false,
|
100 |
+
"type": "SimCCLabel",
|
101 |
+
"input_size": [
|
102 |
+
192,
|
103 |
+
256
|
104 |
+
],
|
105 |
+
"sigma": [
|
106 |
+
4.9,
|
107 |
+
5.66
|
108 |
+
],
|
109 |
+
"simcc_split_ratio": 2.0,
|
110 |
+
"normalize": false,
|
111 |
+
"use_dark": false,
|
112 |
+
"export_postprocess": false
|
113 |
+
},
|
114 |
+
"output": [
|
115 |
+
"post_output"
|
116 |
+
],
|
117 |
+
"input": [
|
118 |
+
"prep_output",
|
119 |
+
"infer_output"
|
120 |
+
]
|
121 |
+
}
|
122 |
+
]
|
123 |
+
}
|
124 |
+
}
|
dw-ll_ucoco_384_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85289badf731100f653f0c5337f95dca0ae5441ec6cecba7dd3fc77cf69dc903
|
3 |
+
size 67297108
|
dw-ll_ucoco_384_fp16/deploy.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"task": "PoseDetector",
|
4 |
+
"models": [
|
5 |
+
{
|
6 |
+
"name": "topdownposeestimator",
|
7 |
+
"net": "end2end.onnx",
|
8 |
+
"weights": "",
|
9 |
+
"backend": "onnxruntime",
|
10 |
+
"precision": "FP32",
|
11 |
+
"batch_size": 1,
|
12 |
+
"dynamic_shape": true
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"customs": []
|
16 |
+
}
|
dw-ll_ucoco_384_fp16/detail.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"codebase": {
|
4 |
+
"task": "PoseDetection",
|
5 |
+
"codebase": "mmpose",
|
6 |
+
"version": "1.2.0",
|
7 |
+
"pth": "/content/dwpose_ckpts/dw-ll_ucoco_384.pth",
|
8 |
+
"config": "mmpose/configs/wholebody_2d_keypoint/rtmpose/ubody/rtmpose-l_8xb32-270e_coco-ubody-wholebody-384x288.py"
|
9 |
+
},
|
10 |
+
"codebase_config": {
|
11 |
+
"type": "mmpose",
|
12 |
+
"task": "PoseDetection"
|
13 |
+
},
|
14 |
+
"onnx_config": {
|
15 |
+
"type": "onnx",
|
16 |
+
"export_params": true,
|
17 |
+
"keep_initializers_as_inputs": false,
|
18 |
+
"opset_version": 11,
|
19 |
+
"save_file": "end2end.onnx",
|
20 |
+
"input_names": [
|
21 |
+
"input"
|
22 |
+
],
|
23 |
+
"output_names": [
|
24 |
+
"simcc_x",
|
25 |
+
"simcc_y"
|
26 |
+
],
|
27 |
+
"input_shape": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
],
|
31 |
+
"optimize": true,
|
32 |
+
"dynamic_axes": {
|
33 |
+
"input": {
|
34 |
+
"0": "batch"
|
35 |
+
},
|
36 |
+
"simcc_x": {
|
37 |
+
"0": "batch"
|
38 |
+
},
|
39 |
+
"simcc_y": {
|
40 |
+
"0": "batch"
|
41 |
+
}
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"backend_config": {
|
45 |
+
"type": "onnxruntime",
|
46 |
+
"precision": "fp16",
|
47 |
+
"common_config": {
|
48 |
+
"min_positive_val": 1e-07,
|
49 |
+
"max_finite_val": 10000.0,
|
50 |
+
"keep_io_types": false,
|
51 |
+
"disable_shape_infer": false,
|
52 |
+
"op_block_list": null,
|
53 |
+
"node_block_list": null
|
54 |
+
}
|
55 |
+
},
|
56 |
+
"calib_config": {}
|
57 |
+
}
|
dw-ll_ucoco_384_fp16/output_onnxruntime.jpg
ADDED
dw-ll_ucoco_384_fp16/output_pytorch.jpg
ADDED
dw-ll_ucoco_384_fp16/pipeline.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pipeline": {
|
3 |
+
"input": [
|
4 |
+
"img"
|
5 |
+
],
|
6 |
+
"output": [
|
7 |
+
"post_output"
|
8 |
+
],
|
9 |
+
"tasks": [
|
10 |
+
{
|
11 |
+
"type": "Task",
|
12 |
+
"module": "Transform",
|
13 |
+
"name": "Preprocess",
|
14 |
+
"input": [
|
15 |
+
"img"
|
16 |
+
],
|
17 |
+
"output": [
|
18 |
+
"prep_output"
|
19 |
+
],
|
20 |
+
"transforms": [
|
21 |
+
{
|
22 |
+
"type": "LoadImageFromFile"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"type": "TopDownGetBboxCenterScale",
|
26 |
+
"padding": 1.25,
|
27 |
+
"image_size": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
]
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"type": "TopDownAffine",
|
34 |
+
"image_size": [
|
35 |
+
192,
|
36 |
+
256
|
37 |
+
]
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"type": "Normalize",
|
41 |
+
"mean": [
|
42 |
+
123.675,
|
43 |
+
116.28,
|
44 |
+
103.53
|
45 |
+
],
|
46 |
+
"std": [
|
47 |
+
58.395,
|
48 |
+
57.12,
|
49 |
+
57.375
|
50 |
+
],
|
51 |
+
"to_rgb": true
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"type": "ImageToTensor",
|
55 |
+
"keys": [
|
56 |
+
"img"
|
57 |
+
]
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"type": "Collect",
|
61 |
+
"keys": [
|
62 |
+
"img"
|
63 |
+
],
|
64 |
+
"meta_keys": [
|
65 |
+
"img_shape",
|
66 |
+
"pad_shape",
|
67 |
+
"ori_shape",
|
68 |
+
"img_norm_cfg",
|
69 |
+
"scale_factor",
|
70 |
+
"bbox_score",
|
71 |
+
"center",
|
72 |
+
"scale"
|
73 |
+
]
|
74 |
+
}
|
75 |
+
]
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "topdownposeestimator",
|
79 |
+
"type": "Task",
|
80 |
+
"module": "Net",
|
81 |
+
"is_batched": true,
|
82 |
+
"input": [
|
83 |
+
"prep_output"
|
84 |
+
],
|
85 |
+
"output": [
|
86 |
+
"infer_output"
|
87 |
+
],
|
88 |
+
"input_map": {
|
89 |
+
"img": "input"
|
90 |
+
},
|
91 |
+
"output_map": {}
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"type": "Task",
|
95 |
+
"module": "mmpose",
|
96 |
+
"name": "postprocess",
|
97 |
+
"component": "SimCCLabelDecode",
|
98 |
+
"params": {
|
99 |
+
"flip_test": false,
|
100 |
+
"type": "SimCCLabel",
|
101 |
+
"input_size": [
|
102 |
+
288,
|
103 |
+
384
|
104 |
+
],
|
105 |
+
"sigma": [
|
106 |
+
6.0,
|
107 |
+
6.93
|
108 |
+
],
|
109 |
+
"simcc_split_ratio": 2.0,
|
110 |
+
"normalize": false,
|
111 |
+
"use_dark": false,
|
112 |
+
"export_postprocess": false
|
113 |
+
},
|
114 |
+
"output": [
|
115 |
+
"post_output"
|
116 |
+
],
|
117 |
+
"input": [
|
118 |
+
"prep_output",
|
119 |
+
"infer_output"
|
120 |
+
]
|
121 |
+
}
|
122 |
+
]
|
123 |
+
}
|
124 |
+
}
|
dw-ll_ucoco_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aaa1553412fcdbef0dafe169c1837b25ec1db999ea406f2a836456a0674e867e
|
3 |
+
size 67037003
|
dw-ll_ucoco_fp16/deploy.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"task": "PoseDetector",
|
4 |
+
"models": [
|
5 |
+
{
|
6 |
+
"name": "topdownposeestimator",
|
7 |
+
"net": "end2end.onnx",
|
8 |
+
"weights": "",
|
9 |
+
"backend": "onnxruntime",
|
10 |
+
"precision": "FP32",
|
11 |
+
"batch_size": 1,
|
12 |
+
"dynamic_shape": true
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"customs": []
|
16 |
+
}
|
dw-ll_ucoco_fp16/detail.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"codebase": {
|
4 |
+
"task": "PoseDetection",
|
5 |
+
"codebase": "mmpose",
|
6 |
+
"version": "1.2.0",
|
7 |
+
"pth": "/content/dwpose_ckpts/dw-ll_ucoco.pth",
|
8 |
+
"config": "mmpose/configs/wholebody_2d_keypoint/rtmpose/ubody/rtmpose-l_8xb64-270e_coco-ubody-wholebody-256x192.py"
|
9 |
+
},
|
10 |
+
"codebase_config": {
|
11 |
+
"type": "mmpose",
|
12 |
+
"task": "PoseDetection"
|
13 |
+
},
|
14 |
+
"onnx_config": {
|
15 |
+
"type": "onnx",
|
16 |
+
"export_params": true,
|
17 |
+
"keep_initializers_as_inputs": false,
|
18 |
+
"opset_version": 11,
|
19 |
+
"save_file": "end2end.onnx",
|
20 |
+
"input_names": [
|
21 |
+
"input"
|
22 |
+
],
|
23 |
+
"output_names": [
|
24 |
+
"simcc_x",
|
25 |
+
"simcc_y"
|
26 |
+
],
|
27 |
+
"input_shape": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
],
|
31 |
+
"optimize": true,
|
32 |
+
"dynamic_axes": {
|
33 |
+
"input": {
|
34 |
+
"0": "batch"
|
35 |
+
},
|
36 |
+
"simcc_x": {
|
37 |
+
"0": "batch"
|
38 |
+
},
|
39 |
+
"simcc_y": {
|
40 |
+
"0": "batch"
|
41 |
+
}
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"backend_config": {
|
45 |
+
"type": "onnxruntime",
|
46 |
+
"precision": "fp16",
|
47 |
+
"common_config": {
|
48 |
+
"min_positive_val": 1e-07,
|
49 |
+
"max_finite_val": 10000.0,
|
50 |
+
"keep_io_types": false,
|
51 |
+
"disable_shape_infer": false,
|
52 |
+
"op_block_list": null,
|
53 |
+
"node_block_list": null
|
54 |
+
}
|
55 |
+
},
|
56 |
+
"calib_config": {}
|
57 |
+
}
|
dw-ll_ucoco_fp16/output_onnxruntime.jpg
ADDED
dw-ll_ucoco_fp16/output_pytorch.jpg
ADDED
dw-ll_ucoco_fp16/pipeline.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pipeline": {
|
3 |
+
"input": [
|
4 |
+
"img"
|
5 |
+
],
|
6 |
+
"output": [
|
7 |
+
"post_output"
|
8 |
+
],
|
9 |
+
"tasks": [
|
10 |
+
{
|
11 |
+
"type": "Task",
|
12 |
+
"module": "Transform",
|
13 |
+
"name": "Preprocess",
|
14 |
+
"input": [
|
15 |
+
"img"
|
16 |
+
],
|
17 |
+
"output": [
|
18 |
+
"prep_output"
|
19 |
+
],
|
20 |
+
"transforms": [
|
21 |
+
{
|
22 |
+
"type": "LoadImageFromFile"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"type": "TopDownGetBboxCenterScale",
|
26 |
+
"padding": 1.25,
|
27 |
+
"image_size": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
]
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"type": "TopDownAffine",
|
34 |
+
"image_size": [
|
35 |
+
192,
|
36 |
+
256
|
37 |
+
]
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"type": "Normalize",
|
41 |
+
"mean": [
|
42 |
+
123.675,
|
43 |
+
116.28,
|
44 |
+
103.53
|
45 |
+
],
|
46 |
+
"std": [
|
47 |
+
58.395,
|
48 |
+
57.12,
|
49 |
+
57.375
|
50 |
+
],
|
51 |
+
"to_rgb": true
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"type": "ImageToTensor",
|
55 |
+
"keys": [
|
56 |
+
"img"
|
57 |
+
]
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"type": "Collect",
|
61 |
+
"keys": [
|
62 |
+
"img"
|
63 |
+
],
|
64 |
+
"meta_keys": [
|
65 |
+
"img_shape",
|
66 |
+
"pad_shape",
|
67 |
+
"ori_shape",
|
68 |
+
"img_norm_cfg",
|
69 |
+
"scale_factor",
|
70 |
+
"bbox_score",
|
71 |
+
"center",
|
72 |
+
"scale"
|
73 |
+
]
|
74 |
+
}
|
75 |
+
]
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "topdownposeestimator",
|
79 |
+
"type": "Task",
|
80 |
+
"module": "Net",
|
81 |
+
"is_batched": true,
|
82 |
+
"input": [
|
83 |
+
"prep_output"
|
84 |
+
],
|
85 |
+
"output": [
|
86 |
+
"infer_output"
|
87 |
+
],
|
88 |
+
"input_map": {
|
89 |
+
"img": "input"
|
90 |
+
},
|
91 |
+
"output_map": {}
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"type": "Task",
|
95 |
+
"module": "mmpose",
|
96 |
+
"name": "postprocess",
|
97 |
+
"component": "SimCCLabelDecode",
|
98 |
+
"params": {
|
99 |
+
"flip_test": false,
|
100 |
+
"type": "SimCCLabel",
|
101 |
+
"input_size": [
|
102 |
+
192,
|
103 |
+
256
|
104 |
+
],
|
105 |
+
"sigma": [
|
106 |
+
4.9,
|
107 |
+
5.66
|
108 |
+
],
|
109 |
+
"simcc_split_ratio": 2.0,
|
110 |
+
"normalize": false,
|
111 |
+
"use_dark": false,
|
112 |
+
"export_postprocess": false
|
113 |
+
},
|
114 |
+
"output": [
|
115 |
+
"post_output"
|
116 |
+
],
|
117 |
+
"input": [
|
118 |
+
"prep_output",
|
119 |
+
"infer_output"
|
120 |
+
]
|
121 |
+
}
|
122 |
+
]
|
123 |
+
}
|
124 |
+
}
|
dw-mm_ucoco.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ea23ef3293588ddd58c16b9bd8b4e67d22e1c2e0a89bd877d72934bdfc7197f
|
3 |
+
size 71831464
|
dw-mm_ucoco/deploy.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"task": "PoseDetector",
|
4 |
+
"models": [
|
5 |
+
{
|
6 |
+
"name": "topdownposeestimator",
|
7 |
+
"net": "end2end.onnx",
|
8 |
+
"weights": "",
|
9 |
+
"backend": "onnxruntime",
|
10 |
+
"precision": "FP32",
|
11 |
+
"batch_size": 1,
|
12 |
+
"dynamic_shape": true
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"customs": []
|
16 |
+
}
|
dw-mm_ucoco/detail.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"codebase": {
|
4 |
+
"task": "PoseDetection",
|
5 |
+
"codebase": "mmpose",
|
6 |
+
"version": "1.2.0",
|
7 |
+
"pth": "/content/dwpose_ckpts/dw-mm_ucoco.pth",
|
8 |
+
"config": "mmpose/configs/wholebody_2d_keypoint/rtmpose/ubody/rtmpose-m_8xb64-270e_coco-ubody-wholebody-256x192.py"
|
9 |
+
},
|
10 |
+
"codebase_config": {
|
11 |
+
"type": "mmpose",
|
12 |
+
"task": "PoseDetection",
|
13 |
+
"export_postprocess": false
|
14 |
+
},
|
15 |
+
"onnx_config": {
|
16 |
+
"type": "onnx",
|
17 |
+
"export_params": true,
|
18 |
+
"keep_initializers_as_inputs": false,
|
19 |
+
"opset_version": 11,
|
20 |
+
"save_file": "end2end.onnx",
|
21 |
+
"input_names": [
|
22 |
+
"input"
|
23 |
+
],
|
24 |
+
"output_names": [
|
25 |
+
"simcc_x",
|
26 |
+
"simcc_y"
|
27 |
+
],
|
28 |
+
"input_shape": [
|
29 |
+
192,
|
30 |
+
256
|
31 |
+
],
|
32 |
+
"optimize": true,
|
33 |
+
"dynamic_axes": {
|
34 |
+
"input": {
|
35 |
+
"0": "batch"
|
36 |
+
},
|
37 |
+
"simcc_x": {
|
38 |
+
"0": "batch"
|
39 |
+
},
|
40 |
+
"simcc_y": {
|
41 |
+
"0": "batch"
|
42 |
+
}
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"backend_config": {
|
46 |
+
"type": "onnxruntime"
|
47 |
+
},
|
48 |
+
"calib_config": {}
|
49 |
+
}
|
dw-mm_ucoco/output_onnxruntime.jpg
ADDED
dw-mm_ucoco/output_pytorch.jpg
ADDED
dw-mm_ucoco/pipeline.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pipeline": {
|
3 |
+
"input": [
|
4 |
+
"img"
|
5 |
+
],
|
6 |
+
"output": [
|
7 |
+
"post_output"
|
8 |
+
],
|
9 |
+
"tasks": [
|
10 |
+
{
|
11 |
+
"type": "Task",
|
12 |
+
"module": "Transform",
|
13 |
+
"name": "Preprocess",
|
14 |
+
"input": [
|
15 |
+
"img"
|
16 |
+
],
|
17 |
+
"output": [
|
18 |
+
"prep_output"
|
19 |
+
],
|
20 |
+
"transforms": [
|
21 |
+
{
|
22 |
+
"type": "LoadImageFromFile"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"type": "TopDownGetBboxCenterScale",
|
26 |
+
"padding": 1.25,
|
27 |
+
"image_size": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
]
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"type": "TopDownAffine",
|
34 |
+
"image_size": [
|
35 |
+
192,
|
36 |
+
256
|
37 |
+
]
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"type": "Normalize",
|
41 |
+
"mean": [
|
42 |
+
123.675,
|
43 |
+
116.28,
|
44 |
+
103.53
|
45 |
+
],
|
46 |
+
"std": [
|
47 |
+
58.395,
|
48 |
+
57.12,
|
49 |
+
57.375
|
50 |
+
],
|
51 |
+
"to_rgb": true
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"type": "ImageToTensor",
|
55 |
+
"keys": [
|
56 |
+
"img"
|
57 |
+
]
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"type": "Collect",
|
61 |
+
"keys": [
|
62 |
+
"img"
|
63 |
+
],
|
64 |
+
"meta_keys": [
|
65 |
+
"img_shape",
|
66 |
+
"pad_shape",
|
67 |
+
"ori_shape",
|
68 |
+
"img_norm_cfg",
|
69 |
+
"scale_factor",
|
70 |
+
"bbox_score",
|
71 |
+
"center",
|
72 |
+
"scale"
|
73 |
+
]
|
74 |
+
}
|
75 |
+
]
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "topdownposeestimator",
|
79 |
+
"type": "Task",
|
80 |
+
"module": "Net",
|
81 |
+
"is_batched": true,
|
82 |
+
"input": [
|
83 |
+
"prep_output"
|
84 |
+
],
|
85 |
+
"output": [
|
86 |
+
"infer_output"
|
87 |
+
],
|
88 |
+
"input_map": {
|
89 |
+
"img": "input"
|
90 |
+
},
|
91 |
+
"output_map": {}
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"type": "Task",
|
95 |
+
"module": "mmpose",
|
96 |
+
"name": "postprocess",
|
97 |
+
"component": "SimCCLabelDecode",
|
98 |
+
"params": {
|
99 |
+
"flip_test": false,
|
100 |
+
"type": "SimCCLabel",
|
101 |
+
"input_size": [
|
102 |
+
192,
|
103 |
+
256
|
104 |
+
],
|
105 |
+
"sigma": [
|
106 |
+
4.9,
|
107 |
+
5.66
|
108 |
+
],
|
109 |
+
"simcc_split_ratio": 2.0,
|
110 |
+
"normalize": false,
|
111 |
+
"use_dark": false,
|
112 |
+
"export_postprocess": false
|
113 |
+
},
|
114 |
+
"output": [
|
115 |
+
"post_output"
|
116 |
+
],
|
117 |
+
"input": [
|
118 |
+
"prep_output",
|
119 |
+
"infer_output"
|
120 |
+
]
|
121 |
+
}
|
122 |
+
]
|
123 |
+
}
|
124 |
+
}
|
dw-mm_ucoco_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8852f73d0cfd7a18e8e259587dee72e4226a9f14d3b21213717da82288e7dd5
|
3 |
+
size 35971185
|
dw-mm_ucoco_fp16/deploy.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"task": "PoseDetector",
|
4 |
+
"models": [
|
5 |
+
{
|
6 |
+
"name": "topdownposeestimator",
|
7 |
+
"net": "end2end.onnx",
|
8 |
+
"weights": "",
|
9 |
+
"backend": "onnxruntime",
|
10 |
+
"precision": "FP32",
|
11 |
+
"batch_size": 1,
|
12 |
+
"dynamic_shape": true
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"customs": []
|
16 |
+
}
|
dw-mm_ucoco_fp16/detail.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"codebase": {
|
4 |
+
"task": "PoseDetection",
|
5 |
+
"codebase": "mmpose",
|
6 |
+
"version": "1.2.0",
|
7 |
+
"pth": "/content/dwpose_ckpts/dw-mm_ucoco.pth",
|
8 |
+
"config": "mmpose/configs/wholebody_2d_keypoint/rtmpose/ubody/rtmpose-m_8xb64-270e_coco-ubody-wholebody-256x192.py"
|
9 |
+
},
|
10 |
+
"codebase_config": {
|
11 |
+
"type": "mmpose",
|
12 |
+
"task": "PoseDetection"
|
13 |
+
},
|
14 |
+
"onnx_config": {
|
15 |
+
"type": "onnx",
|
16 |
+
"export_params": true,
|
17 |
+
"keep_initializers_as_inputs": false,
|
18 |
+
"opset_version": 11,
|
19 |
+
"save_file": "end2end.onnx",
|
20 |
+
"input_names": [
|
21 |
+
"input"
|
22 |
+
],
|
23 |
+
"output_names": [
|
24 |
+
"simcc_x",
|
25 |
+
"simcc_y"
|
26 |
+
],
|
27 |
+
"input_shape": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
],
|
31 |
+
"optimize": true,
|
32 |
+
"dynamic_axes": {
|
33 |
+
"input": {
|
34 |
+
"0": "batch"
|
35 |
+
},
|
36 |
+
"simcc_x": {
|
37 |
+
"0": "batch"
|
38 |
+
},
|
39 |
+
"simcc_y": {
|
40 |
+
"0": "batch"
|
41 |
+
}
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"backend_config": {
|
45 |
+
"type": "onnxruntime",
|
46 |
+
"precision": "fp16",
|
47 |
+
"common_config": {
|
48 |
+
"min_positive_val": 1e-07,
|
49 |
+
"max_finite_val": 10000.0,
|
50 |
+
"keep_io_types": false,
|
51 |
+
"disable_shape_infer": false,
|
52 |
+
"op_block_list": null,
|
53 |
+
"node_block_list": null
|
54 |
+
}
|
55 |
+
},
|
56 |
+
"calib_config": {}
|
57 |
+
}
|
dw-mm_ucoco_fp16/output_onnxruntime.jpg
ADDED
dw-mm_ucoco_fp16/output_pytorch.jpg
ADDED
dw-mm_ucoco_fp16/pipeline.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pipeline": {
|
3 |
+
"input": [
|
4 |
+
"img"
|
5 |
+
],
|
6 |
+
"output": [
|
7 |
+
"post_output"
|
8 |
+
],
|
9 |
+
"tasks": [
|
10 |
+
{
|
11 |
+
"type": "Task",
|
12 |
+
"module": "Transform",
|
13 |
+
"name": "Preprocess",
|
14 |
+
"input": [
|
15 |
+
"img"
|
16 |
+
],
|
17 |
+
"output": [
|
18 |
+
"prep_output"
|
19 |
+
],
|
20 |
+
"transforms": [
|
21 |
+
{
|
22 |
+
"type": "LoadImageFromFile"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"type": "TopDownGetBboxCenterScale",
|
26 |
+
"padding": 1.25,
|
27 |
+
"image_size": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
]
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"type": "TopDownAffine",
|
34 |
+
"image_size": [
|
35 |
+
192,
|
36 |
+
256
|
37 |
+
]
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"type": "Normalize",
|
41 |
+
"mean": [
|
42 |
+
123.675,
|
43 |
+
116.28,
|
44 |
+
103.53
|
45 |
+
],
|
46 |
+
"std": [
|
47 |
+
58.395,
|
48 |
+
57.12,
|
49 |
+
57.375
|
50 |
+
],
|
51 |
+
"to_rgb": true
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"type": "ImageToTensor",
|
55 |
+
"keys": [
|
56 |
+
"img"
|
57 |
+
]
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"type": "Collect",
|
61 |
+
"keys": [
|
62 |
+
"img"
|
63 |
+
],
|
64 |
+
"meta_keys": [
|
65 |
+
"img_shape",
|
66 |
+
"pad_shape",
|
67 |
+
"ori_shape",
|
68 |
+
"img_norm_cfg",
|
69 |
+
"scale_factor",
|
70 |
+
"bbox_score",
|
71 |
+
"center",
|
72 |
+
"scale"
|
73 |
+
]
|
74 |
+
}
|
75 |
+
]
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "topdownposeestimator",
|
79 |
+
"type": "Task",
|
80 |
+
"module": "Net",
|
81 |
+
"is_batched": true,
|
82 |
+
"input": [
|
83 |
+
"prep_output"
|
84 |
+
],
|
85 |
+
"output": [
|
86 |
+
"infer_output"
|
87 |
+
],
|
88 |
+
"input_map": {
|
89 |
+
"img": "input"
|
90 |
+
},
|
91 |
+
"output_map": {}
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"type": "Task",
|
95 |
+
"module": "mmpose",
|
96 |
+
"name": "postprocess",
|
97 |
+
"component": "SimCCLabelDecode",
|
98 |
+
"params": {
|
99 |
+
"flip_test": false,
|
100 |
+
"type": "SimCCLabel",
|
101 |
+
"input_size": [
|
102 |
+
192,
|
103 |
+
256
|
104 |
+
],
|
105 |
+
"sigma": [
|
106 |
+
4.9,
|
107 |
+
5.66
|
108 |
+
],
|
109 |
+
"simcc_split_ratio": 2.0,
|
110 |
+
"normalize": false,
|
111 |
+
"use_dark": false,
|
112 |
+
"export_postprocess": false
|
113 |
+
},
|
114 |
+
"output": [
|
115 |
+
"post_output"
|
116 |
+
],
|
117 |
+
"input": [
|
118 |
+
"prep_output",
|
119 |
+
"infer_output"
|
120 |
+
]
|
121 |
+
}
|
122 |
+
]
|
123 |
+
}
|
124 |
+
}
|
dw-ss_ucoco.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b90685f0e85cbce62cb463c2f17de96f81a0427d129e24755496ac90b68ae18
|
3 |
+
size 33558044
|
dw-ss_ucoco/deploy.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"task": "PoseDetector",
|
4 |
+
"models": [
|
5 |
+
{
|
6 |
+
"name": "topdownposeestimator",
|
7 |
+
"net": "end2end.onnx",
|
8 |
+
"weights": "",
|
9 |
+
"backend": "onnxruntime",
|
10 |
+
"precision": "FP32",
|
11 |
+
"batch_size": 1,
|
12 |
+
"dynamic_shape": true
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"customs": []
|
16 |
+
}
|
dw-ss_ucoco/detail.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"codebase": {
|
4 |
+
"task": "PoseDetection",
|
5 |
+
"codebase": "mmpose",
|
6 |
+
"version": "1.2.0",
|
7 |
+
"pth": "/content/dwpose_ckpts/dw-ss_ucoco.pth",
|
8 |
+
"config": "mmpose/configs/wholebody_2d_keypoint/rtmpose/ubody/rtmpose-s_8xb64-270e_coco-ubody-wholebody-256x192.py"
|
9 |
+
},
|
10 |
+
"codebase_config": {
|
11 |
+
"type": "mmpose",
|
12 |
+
"task": "PoseDetection",
|
13 |
+
"export_postprocess": false
|
14 |
+
},
|
15 |
+
"onnx_config": {
|
16 |
+
"type": "onnx",
|
17 |
+
"export_params": true,
|
18 |
+
"keep_initializers_as_inputs": false,
|
19 |
+
"opset_version": 11,
|
20 |
+
"save_file": "end2end.onnx",
|
21 |
+
"input_names": [
|
22 |
+
"input"
|
23 |
+
],
|
24 |
+
"output_names": [
|
25 |
+
"simcc_x",
|
26 |
+
"simcc_y"
|
27 |
+
],
|
28 |
+
"input_shape": [
|
29 |
+
192,
|
30 |
+
256
|
31 |
+
],
|
32 |
+
"optimize": true,
|
33 |
+
"dynamic_axes": {
|
34 |
+
"input": {
|
35 |
+
"0": "batch"
|
36 |
+
},
|
37 |
+
"simcc_x": {
|
38 |
+
"0": "batch"
|
39 |
+
},
|
40 |
+
"simcc_y": {
|
41 |
+
"0": "batch"
|
42 |
+
}
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"backend_config": {
|
46 |
+
"type": "onnxruntime"
|
47 |
+
},
|
48 |
+
"calib_config": {}
|
49 |
+
}
|
dw-ss_ucoco/output_onnxruntime.jpg
ADDED
dw-ss_ucoco/output_pytorch.jpg
ADDED
dw-ss_ucoco/pipeline.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pipeline": {
|
3 |
+
"input": [
|
4 |
+
"img"
|
5 |
+
],
|
6 |
+
"output": [
|
7 |
+
"post_output"
|
8 |
+
],
|
9 |
+
"tasks": [
|
10 |
+
{
|
11 |
+
"type": "Task",
|
12 |
+
"module": "Transform",
|
13 |
+
"name": "Preprocess",
|
14 |
+
"input": [
|
15 |
+
"img"
|
16 |
+
],
|
17 |
+
"output": [
|
18 |
+
"prep_output"
|
19 |
+
],
|
20 |
+
"transforms": [
|
21 |
+
{
|
22 |
+
"type": "LoadImageFromFile"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"type": "TopDownGetBboxCenterScale",
|
26 |
+
"padding": 1.25,
|
27 |
+
"image_size": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
]
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"type": "TopDownAffine",
|
34 |
+
"image_size": [
|
35 |
+
192,
|
36 |
+
256
|
37 |
+
]
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"type": "Normalize",
|
41 |
+
"mean": [
|
42 |
+
123.675,
|
43 |
+
116.28,
|
44 |
+
103.53
|
45 |
+
],
|
46 |
+
"std": [
|
47 |
+
58.395,
|
48 |
+
57.12,
|
49 |
+
57.375
|
50 |
+
],
|
51 |
+
"to_rgb": true
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"type": "ImageToTensor",
|
55 |
+
"keys": [
|
56 |
+
"img"
|
57 |
+
]
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"type": "Collect",
|
61 |
+
"keys": [
|
62 |
+
"img"
|
63 |
+
],
|
64 |
+
"meta_keys": [
|
65 |
+
"img_shape",
|
66 |
+
"pad_shape",
|
67 |
+
"ori_shape",
|
68 |
+
"img_norm_cfg",
|
69 |
+
"scale_factor",
|
70 |
+
"bbox_score",
|
71 |
+
"center",
|
72 |
+
"scale"
|
73 |
+
]
|
74 |
+
}
|
75 |
+
]
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "topdownposeestimator",
|
79 |
+
"type": "Task",
|
80 |
+
"module": "Net",
|
81 |
+
"is_batched": true,
|
82 |
+
"input": [
|
83 |
+
"prep_output"
|
84 |
+
],
|
85 |
+
"output": [
|
86 |
+
"infer_output"
|
87 |
+
],
|
88 |
+
"input_map": {
|
89 |
+
"img": "input"
|
90 |
+
},
|
91 |
+
"output_map": {}
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"type": "Task",
|
95 |
+
"module": "mmpose",
|
96 |
+
"name": "postprocess",
|
97 |
+
"component": "SimCCLabelDecode",
|
98 |
+
"params": {
|
99 |
+
"flip_test": false,
|
100 |
+
"type": "SimCCLabel",
|
101 |
+
"input_size": [
|
102 |
+
192,
|
103 |
+
256
|
104 |
+
],
|
105 |
+
"sigma": [
|
106 |
+
4.9,
|
107 |
+
5.66
|
108 |
+
],
|
109 |
+
"simcc_split_ratio": 2.0,
|
110 |
+
"normalize": false,
|
111 |
+
"use_dark": false,
|
112 |
+
"export_postprocess": false
|
113 |
+
},
|
114 |
+
"output": [
|
115 |
+
"post_output"
|
116 |
+
],
|
117 |
+
"input": [
|
118 |
+
"prep_output",
|
119 |
+
"infer_output"
|
120 |
+
]
|
121 |
+
}
|
122 |
+
]
|
123 |
+
}
|
124 |
+
}
|
dw-ss_ucoco_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c829a803ba6d6f924ea3ecb17b7c4fdc98c74edbc43fd5c82bba3d78b32e1dde
|
3 |
+
size 16818397
|
dw-ss_ucoco_fp16/deploy.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"task": "PoseDetector",
|
4 |
+
"models": [
|
5 |
+
{
|
6 |
+
"name": "topdownposeestimator",
|
7 |
+
"net": "end2end.onnx",
|
8 |
+
"weights": "",
|
9 |
+
"backend": "onnxruntime",
|
10 |
+
"precision": "FP32",
|
11 |
+
"batch_size": 1,
|
12 |
+
"dynamic_shape": true
|
13 |
+
}
|
14 |
+
],
|
15 |
+
"customs": []
|
16 |
+
}
|
dw-ss_ucoco_fp16/detail.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.3.0",
|
3 |
+
"codebase": {
|
4 |
+
"task": "PoseDetection",
|
5 |
+
"codebase": "mmpose",
|
6 |
+
"version": "1.2.0",
|
7 |
+
"pth": "/content/dwpose_ckpts/dw-ss_ucoco.pth",
|
8 |
+
"config": "mmpose/configs/wholebody_2d_keypoint/rtmpose/ubody/rtmpose-s_8xb64-270e_coco-ubody-wholebody-256x192.py"
|
9 |
+
},
|
10 |
+
"codebase_config": {
|
11 |
+
"type": "mmpose",
|
12 |
+
"task": "PoseDetection"
|
13 |
+
},
|
14 |
+
"onnx_config": {
|
15 |
+
"type": "onnx",
|
16 |
+
"export_params": true,
|
17 |
+
"keep_initializers_as_inputs": false,
|
18 |
+
"opset_version": 11,
|
19 |
+
"save_file": "end2end.onnx",
|
20 |
+
"input_names": [
|
21 |
+
"input"
|
22 |
+
],
|
23 |
+
"output_names": [
|
24 |
+
"simcc_x",
|
25 |
+
"simcc_y"
|
26 |
+
],
|
27 |
+
"input_shape": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
],
|
31 |
+
"optimize": true,
|
32 |
+
"dynamic_axes": {
|
33 |
+
"input": {
|
34 |
+
"0": "batch"
|
35 |
+
},
|
36 |
+
"simcc_x": {
|
37 |
+
"0": "batch"
|
38 |
+
},
|
39 |
+
"simcc_y": {
|
40 |
+
"0": "batch"
|
41 |
+
}
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"backend_config": {
|
45 |
+
"type": "onnxruntime",
|
46 |
+
"precision": "fp16",
|
47 |
+
"common_config": {
|
48 |
+
"min_positive_val": 1e-07,
|
49 |
+
"max_finite_val": 10000.0,
|
50 |
+
"keep_io_types": false,
|
51 |
+
"disable_shape_infer": false,
|
52 |
+
"op_block_list": null,
|
53 |
+
"node_block_list": null
|
54 |
+
}
|
55 |
+
},
|
56 |
+
"calib_config": {}
|
57 |
+
}
|
dw-ss_ucoco_fp16/output_onnxruntime.jpg
ADDED
dw-ss_ucoco_fp16/output_pytorch.jpg
ADDED
dw-ss_ucoco_fp16/pipeline.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pipeline": {
|
3 |
+
"input": [
|
4 |
+
"img"
|
5 |
+
],
|
6 |
+
"output": [
|
7 |
+
"post_output"
|
8 |
+
],
|
9 |
+
"tasks": [
|
10 |
+
{
|
11 |
+
"type": "Task",
|
12 |
+
"module": "Transform",
|
13 |
+
"name": "Preprocess",
|
14 |
+
"input": [
|
15 |
+
"img"
|
16 |
+
],
|
17 |
+
"output": [
|
18 |
+
"prep_output"
|
19 |
+
],
|
20 |
+
"transforms": [
|
21 |
+
{
|
22 |
+
"type": "LoadImageFromFile"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"type": "TopDownGetBboxCenterScale",
|
26 |
+
"padding": 1.25,
|
27 |
+
"image_size": [
|
28 |
+
192,
|
29 |
+
256
|
30 |
+
]
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"type": "TopDownAffine",
|
34 |
+
"image_size": [
|
35 |
+
192,
|
36 |
+
256
|
37 |
+
]
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"type": "Normalize",
|
41 |
+
"mean": [
|
42 |
+
123.675,
|
43 |
+
116.28,
|
44 |
+
103.53
|
45 |
+
],
|
46 |
+
"std": [
|
47 |
+
58.395,
|
48 |
+
57.12,
|
49 |
+
57.375
|
50 |
+
],
|
51 |
+
"to_rgb": true
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"type": "ImageToTensor",
|
55 |
+
"keys": [
|
56 |
+
"img"
|
57 |
+
]
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"type": "Collect",
|
61 |
+
"keys": [
|
62 |
+
"img"
|
63 |
+
],
|
64 |
+
"meta_keys": [
|
65 |
+
"img_shape",
|
66 |
+
"pad_shape",
|
67 |
+
"ori_shape",
|
68 |
+
"img_norm_cfg",
|
69 |
+
"scale_factor",
|
70 |
+
"bbox_score",
|
71 |
+
"center",
|
72 |
+
"scale"
|
73 |
+
]
|
74 |
+
}
|
75 |
+
]
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"name": "topdownposeestimator",
|
79 |
+
"type": "Task",
|
80 |
+
"module": "Net",
|
81 |
+
"is_batched": true,
|
82 |
+
"input": [
|
83 |
+
"prep_output"
|
84 |
+
],
|
85 |
+
"output": [
|
86 |
+
"infer_output"
|
87 |
+
],
|
88 |
+
"input_map": {
|
89 |
+
"img": "input"
|
90 |
+
},
|
91 |
+
"output_map": {}
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"type": "Task",
|
95 |
+
"module": "mmpose",
|
96 |
+
"name": "postprocess",
|
97 |
+
"component": "SimCCLabelDecode",
|
98 |
+
"params": {
|
99 |
+
"flip_test": false,
|
100 |
+
"type": "SimCCLabel",
|
101 |
+
"input_size": [
|
102 |
+
192,
|
103 |
+
256
|
104 |
+
],
|
105 |
+
"sigma": [
|
106 |
+
4.9,
|
107 |
+
5.66
|
108 |
+
],
|
109 |
+
"simcc_split_ratio": 2.0,
|
110 |
+
"normalize": false,
|
111 |
+
"use_dark": false,
|
112 |
+
"export_postprocess": false
|
113 |
+
},
|
114 |
+
"output": [
|
115 |
+
"post_output"
|
116 |
+
],
|
117 |
+
"input": [
|
118 |
+
"prep_output",
|
119 |
+
"infer_output"
|
120 |
+
]
|
121 |
+
}
|
122 |
+
]
|
123 |
+
}
|
124 |
+
}
|