Exporting fp16 onnx models.
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
_base_ = ["../_base_/base_static.py", "../../_base_/backends/onnxruntime-fp16.py"]
|
||||
|
||||
onnx_config = dict(
|
||||
input_shape=[320, 320],
|
||||
)
|
||||
@ -0,0 +1,8 @@
|
||||
_base_ = ["./pose-detection_static.py", "../_base_/backends/onnxruntime-fp16.py"]
|
||||
|
||||
onnx_config = dict(
|
||||
input_shape=[288, 384],
|
||||
output_names=["simcc_x", "simcc_y"],
|
||||
)
|
||||
|
||||
codebase_config = dict(export_postprocess=False) # do not export get_simcc_maximum
|
||||
Reference in New Issue
Block a user