Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[luci/pass] Check StridedSlice shape inference #14445

Closed
seanshpark opened this issue Dec 13, 2024 · 4 comments
Closed

[luci/pass] Check StridedSlice shape inference #14445

seanshpark opened this issue Dec 13, 2024 · 4 comments

Comments

@seanshpark
Copy link
Contributor

StridedSlice shape inference looks incorrect

Source onnx circle after circle2circle
image image image

output of StridedSlice becomes 1x128x132x128

@seanshpark
Copy link
Contributor Author

seanshpark commented Dec 13, 2024

end input of circle model has

tensor: int32[4]
identifier: 183
[
    1,
    128,
    132,
    128
]

which looks strange ...

--> need to check onnx2circle tool.

@seanshpark
Copy link
Contributor Author

why look at onnx2circle ?

  • our target model fails to compile with onnx-tf
  • one-import-onnx calls fallback one-import-onnx-ext, which invokes onnx2circle tool

@shs-park
Copy link
Contributor

shs-park commented Jan 2, 2025

The onnx2circle tool will be modified by tomorrow nightly release.
Let's check this out then.

@seanshpark
Copy link
Contributor Author

Fixed !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants