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

pointnet2_utils.gather_operation used for pointbert is not defined #73

Open
dominicofthebears opened this issue Dec 23, 2024 · 0 comments

Comments

@dominicofthebears
Copy link

dominicofthebears commented Dec 23, 2024

Hi, i was trying to use the PointBERT version of the model but had a problem with the file "models/pointbert/misc.py", where at line 67 a method called "gather_operation" is used, claiming an import from pointnet2_utils

def fps(data, number):
'''
data B N 3
number int
'''
fps_idx = pointnet2_utils.farthest_point_sample(data, number)
fps_data = pointnet2_utils.gather_operation(data.transpose(1, 2).contiguous(), fps_idx).transpose(1,2).contiguous()
return fps_data

This method doesn't exist at all in the specified file, and the only similar thing i managed to find is a method from PointNext module. Which is the right method to invoke there?

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