❓ How to export onnx with dynamic_axes using DETR?
Describe what you want to do, including:
what inputs you will provide, if any:
I can export onnx with fix shape and it works well. But when I export onnx with dynamic_axes in batch axis, the exported model is not as expected.
❓ How to export onnx with dynamic_axes using DETR?
Describe what you want to do, including:
what inputs you will provide, if any: I can export onnx with fix shape and it works well. But when I export onnx with dynamic_axes in batch axis, the exported model is not as expected.
The inputs will split to 4, do squeeze, Pad, Unsqueeze and then concat. So the shape of onnx model is fixed to batch_size=4.
what outputs you are expecting: onnx model of Detr can really support dynamic shape.