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

kMaX onnx export and trt export fails #147

Open
hannes09 opened this issue Nov 5, 2022 · 0 comments
Open

kMaX onnx export and trt export fails #147

hannes09 opened this issue Nov 5, 2022 · 0 comments

Comments

@hannes09
Copy link

hannes09 commented Nov 5, 2022

Hi,

I am trying to export a kMaX model to onnx format or a trt engine.
The error accures when calling trt.TrtGraphConverterV2
Both methods fail with the same error:

StatefulPartitionedCall/kMaXDeepLab/kmax_pixel_decoder/kmax_pixeldecoder_0/block1/attention/height_axis/query_rpe/Gather/axis is not unique

I am using kmax_meta_r50_os32.textproto with a dataset similar to cityscape.

The same error was mentioned in https://github.com/google-research/deeplab2/issues/50
and in https://github.com/google-research/deeplab2/issues/82

I have read the answers but for me it is stillnot clear how to fix the issue.

I only need support a batch size of 1.

@hannes09 hannes09 changed the title K-Max onnx export and trt export fails kMaX onnx export and trt export fails Nov 5, 2022
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

1 participant