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

Hello i have a problem with dataset.py #19

Open
Lemon2048 opened this issue May 3, 2024 · 1 comment
Open

Hello i have a problem with dataset.py #19

Lemon2048 opened this issue May 3, 2024 · 1 comment

Comments

@Lemon2048
Copy link

Hello i have a problem with dataset.py

can you help me resolve this issue thank you!

dataset.py", line 324, in getitem
patch_normal = torch.from_numpy(shape.normals[center_point_ind, :])
IndexError: index 6033759 is out of bounds for axis 0 with size 2364679

@paulguerrero
Copy link
Owner

Hi @Lemon2048 , it seems your .pidx file that defines the point indices that are to be used as patch centers contains an out of bound index (index 6033759, while your point cloud only has 2364679 points).

Hope that helps!

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