-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unsupported: ONNX export of transpose for tensor of unknown rank." with dynamic axes #50686
Comments
Thanks for reporting this issue. Transpose shape inference logic has been recently updated in (#50163), and looks like this issue is resolved in the nightly build. |
Thanks @neginraoof . @grzegorzkarchnv - please reopen this issue if you still see this problem. |
I confirm the issue is resolved and I can export the model successfully. Thanks for your support! |
Thanks for confirming @grzegorzkarchnv . |
Same issue for the ONNX 16 |
Have you solved the issue锛焌nd how did you do |
I'm facing the same problem when transposing a tensor inside a for loop. Any idea on how to fix it? |
馃悰 Bug
When exporting a model with
dynamic_axes
, I get an errorUnsupported: ONNX export of transpose for tensor of unknown rank.
although the tensor itself looks correct. The model usestranspose(1,2)
which is the source of the error. Please see the sample below.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successful model export to ONNX.
Environment
cc @houseroad @spandantiwari @lara-hdr @BowenBao @neginraoof
The text was updated successfully, but these errors were encountered: