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

How to convert a pth file (Pointpillars) to onnx format? #289

Open
aatefi2 opened this issue Jun 10, 2024 · 0 comments
Open

How to convert a pth file (Pointpillars) to onnx format? #289

aatefi2 opened this issue Jun 10, 2024 · 0 comments
Labels

Comments

@aatefi2
Copy link

aatefi2 commented Jun 10, 2024

Hi,

I used Pointpillars for 3D object detection on my own dataset (just pointcloud data) using Pytorch (https://github.com/shangjie-li/pointpillars/blob/master/pointpillar.py). The format of the trained model is *.pth. I need to convert the trained model to *.onnx format. I know I should define a model and a dummy tensor/input in this regard. I think the model should be defined based on the link above, but honestly I am not sure how to determine these parameters (model and dummy tensor). Is there any example for converting the Pointpillars pth file to onnx format?

I appreciate any help in advance.

Thank you,
Abbas

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

No branches or pull requests

1 participant