Export pose postprocessing steps as well.
This commit is contained in:
@ -2,7 +2,7 @@ _base_ = ["./pose-detection_static.py", "../_base_/backends/onnxruntime.py"]
|
||||
|
||||
onnx_config = dict(
|
||||
input_shape=[288, 384],
|
||||
output_names=["simcc_x", "simcc_y"],
|
||||
output_names=["kpts", "scores"],
|
||||
)
|
||||
|
||||
codebase_config = dict(export_postprocess=False) # do not export get_simcc_maximum
|
||||
codebase_config = dict(export_postprocess=True) # export get_simcc_maximum
|
||||
|
||||
@ -2,7 +2,7 @@ _base_ = ["./pose-detection_static.py", "../_base_/backends/onnxruntime-fp16.py"
|
||||
|
||||
onnx_config = dict(
|
||||
input_shape=[288, 384],
|
||||
output_names=["simcc_x", "simcc_y"],
|
||||
output_names=["kpts", "scores"],
|
||||
)
|
||||
|
||||
codebase_config = dict(export_postprocess=False) # do not export get_simcc_maximum
|
||||
codebase_config = dict(export_postprocess=True) # export get_simcc_maximum
|
||||
|
||||
Reference in New Issue
Block a user