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

ShapeInferenceError converting a Tile op #174

Open
vavanade opened this issue Sep 15, 2023 · 0 comments
Open

ShapeInferenceError converting a Tile op #174

vavanade opened this issue Sep 15, 2023 · 0 comments

Comments

@vavanade
Copy link

I'm trying to convert an ONNX RT-DETR model to PyTorch but I'm getting an error on a Tile op shape inference:

...
File "C:\Users\path\to\site-packages\onnx\shape_inference.py", line 77, in infer_shapes_path
    C.infer_shapes_path(model_path, output_path, check_type, strict_mode, data_prop)
onnx.onnx_cpp2py_export.shape_inference.InferenceError: [ShapeInferenceError] (op_type:Tile, node name: p2o.Tile.3): [ShapeInferenceError] Inferred shape and existing shape differ in rank: (0) vs (1)

the opset of the ONNX file is 16.

The ONNX file is too big to upload here.

@github-actions github-actions bot added the Stale label Oct 16, 2023
@ENOT-AutoDL ENOT-AutoDL deleted a comment from github-actions bot Oct 16, 2023
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