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

ONNX export #35

Open
yBeOne opened this issue Jul 4, 2023 · 5 comments
Open

ONNX export #35

yBeOne opened this issue Jul 4, 2023 · 5 comments

Comments

@yBeOne
Copy link

yBeOne commented Jul 4, 2023

RuntimeError: Only tuples, lists and Variables are supported as JIT inputs/outputs. Dictionaries and strings are also accepted, but their usage is not recommended. Here, received an input of unsupported type: numpy.ndarray.
Have you export VoxelNeXt to ONNX?

@yukang2017
Copy link
Member

Hi,

I think this might be hard. Because the spconv backbone receives sparse tensors, which is not supported yet by ONNX.

I have converted the head of VoxelNeXt to ONNX. That is easy. Please refer to this one.

Regards,
Yukang Chen

@yBeOne
Copy link
Author

yBeOne commented Jul 10, 2023

Hi,
There is another question that how to count the distribution of query voxels like Tabel 7.

@HuangVictorAuto
Copy link

Hi,

I think this might be hard. Because the spconv backbone receives sparse tensors, which is not supported yet by ONNX.

I have converted the head of VoxelNeXt to ONNX. That is easy. Please refer to this one.

Regards, Yukang Chen

Hi, Dear Yukang

can you share where is the link or postion for "this one"?

Thanks!

@ArseniuML
Copy link

I think this might be hard. Because the spconv backbone receives sparse tensors, which is not supported yet by ONNX.

Could it be done via this plugin?

https://github.com/jingyue202205/SE-SSD-AI-TRT/blob/master/sparseConv3dlayer.h

@Gaussiandra
Copy link

Hi,

I think this might be hard. Because the spconv backbone receives sparse tensors, which is not supported yet by ONNX.

I have converted the head of VoxelNeXt to ONNX. That is easy. Please refer to this one.

Regards, Yukang Chen

Could you please provide config to test ONNX model?

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

6 participants
@yukang2017 @Gaussiandra @HuangVictorAuto @yBeOne @ArseniuML and others