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 use a pre-trained PTv3-obj model to obtain 3D features? #15

Open
llcc343 opened this issue Jan 3, 2025 · 2 comments
Open

How to use a pre-trained PTv3-obj model to obtain 3D features? #15

llcc343 opened this issue Jan 3, 2025 · 2 comments

Comments

@llcc343
Copy link

llcc343 commented Jan 3, 2025

Hi,
I already have a custom mesh that has been normalized to the range [-1, 1], and I have sampled points and their corresponding normals. I have wrapped them into a dictionary and input them into the model built with build_model, but the forward pass is not working. In this case, how can I use it correctly?

@yhyang-myron
Copy link
Member

Hi, thanks for your interest in our work!
Could you please clarify what you mean by "forward pass is not working"?
You can obtain the 3D features from pre-trained PTv3-object like this.

@llcc343
Copy link
Author

llcc343 commented Jan 6, 2025

Thanks for your kind repply. I use the model configuration from

with the build_model() method. And then I put the sampled points normals, coords and offsets(calculated using transform.py) into a dict , and pass the dict to the model forward, but offset2batch in the Point(Dict) crashed.

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