We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
input_names = ["input_ids"] output_names = ['pred_logits', 'pred_boxes'] a=torch.randn(20,3, 1000, 727) dynamic_axes={ "input_ids": {0: 'batch', 2: 'input_height', 3: 'input_width'}, "pred_logits": {0: 'batch'}, "pred_boxes": {0: 'batch'}, } torch.onnx.export(self.str_model, a, "./a.onnx", verbose=False, do_constant_folding=True, input_names=input_names, output_names=output_names, opset_version=12, dynamic_axes=dynamic_axes)
No errors were reported and the onnx model was exported However, only the same batch size as input is supported during inference.
The text was updated successfully, but these errors were encountered:
@bsmock @rohithpv
Sorry, something went wrong.
@qrsssh Have you found a solution?
No branches or pull requests
No errors were reported and the onnx model was exported
However, only the same batch size as input is supported during inference.
The text was updated successfully, but these errors were encountered: