Your Name
Upload files
52857f3
raw
history blame contribute delete
No virus
3.7 kB
{
"pipeline": {
"input": [
"img"
],
"output": [
"post_output"
],
"tasks": [
{
"type": "Task",
"module": "Transform",
"name": "Preprocess",
"input": [
"img"
],
"output": [
"prep_output"
],
"transforms": [
{
"type": "LoadImageFromFile"
},
{
"type": "TopDownGetBboxCenterScale",
"padding": 1.25,
"image_size": [
192,
256
]
},
{
"type": "TopDownAffine",
"image_size": [
192,
256
]
},
{
"type": "Normalize",
"mean": [
123.675,
116.28,
103.53
],
"std": [
58.395,
57.12,
57.375
],
"to_rgb": true
},
{
"type": "ImageToTensor",
"keys": [
"img"
]
},
{
"type": "Collect",
"keys": [
"img"
],
"meta_keys": [
"img_shape",
"pad_shape",
"ori_shape",
"img_norm_cfg",
"scale_factor",
"bbox_score",
"center",
"scale"
]
}
]
},
{
"name": "topdownposeestimator",
"type": "Task",
"module": "Net",
"is_batched": true,
"input": [
"prep_output"
],
"output": [
"infer_output"
],
"input_map": {
"img": "input"
},
"output_map": {}
},
{
"type": "Task",
"module": "mmpose",
"name": "postprocess",
"component": "SimCCLabelDecode",
"params": {
"flip_test": false,
"type": "SimCCLabel",
"input_size": [
192,
256
],
"sigma": [
4.9,
5.66
],
"simcc_split_ratio": 2.0,
"normalize": false,
"use_dark": false,
"export_postprocess": false
},
"output": [
"post_output"
],
"input": [
"prep_output",
"infer_output"
]
}
]
}
}