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

When kernel_size = (1,1,1) for SparseConv3d, the onnx inference result is different from the torch #302

Open
Icecream-blue-sky opened this issue Dec 18, 2024 · 3 comments

Comments

@Icecream-blue-sky
Copy link

Icecream-blue-sky commented Dec 18, 2024

I change the last sparse conv of bevfusion from the first picture to the second (I don't want to downsample):
image

image

It will cause the final lidar feat to be incorrect. The onnx inference result is inaccurate while the torch inference is normal. I think this is probably a bug...

@hopef
Copy link
Collaborator

hopef commented Dec 23, 2024

Please clean the argument "indice_key" because the rulebook needs to be recomputed.

@Icecream-blue-sky
Copy link
Author

Please clean the argument "indice_key" because the rulebook needs to be recomputed.

This has nothing to do with indice_key. I tried or set indice_key="", indice_key="spconv_4", indice_key="spconv_down2", all do not work. However, after using 113 conv, I succeeded.

@hopef
Copy link
Collaborator

hopef commented Dec 25, 2024

Could you share a minimal reproduced code with me?

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