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

Index Error #63

Open
aiyb1314 opened this issue Jan 9, 2024 · 0 comments
Open

Index Error #63

aiyb1314 opened this issue Jan 9, 2024 · 0 comments

Comments

@aiyb1314
Copy link

aiyb1314 commented Jan 9, 2024

When I enter a custom point cloud file, it pops up IndexError: index out of range for dimension of size 0.
test PointCloud with 177346 points.
01-09 15:48:34 (init.py:230) [INFO] Input scale factor: 7.4294
Traceback (most recent call last):
File "/home/XXX/temp/NKSR/demo.py", line 26, in
mesh = field.extract_dual_mesh(max_points=2 ** 24, mise_iter=1)
File "/home/XXX/anaconda3/envs/nerfstudio/lib/python3.10/site-packages/nksr/fields/base_field.py", line 200, in extract_dual_mesh
dual_c = self.texture_field.evaluate_f_bar(dual_v, max_points=max_points)
File "/home/XXX/anaconda3/envs/nerfstudio/lib/python3.10/site-packages/nksr/fields/base_field.py", line 114, in evaluate_f_bar
f_chunk = self.evaluate_f(xyz_chunk, grad=False).value
File "/home/XXX/anaconda3/envs/nerfstudio/lib/python3.10/site-packages/nksr/fields/pcnn_field.py", line 41, in evaluate_f
return EvaluationResult(self.pc_field[idx])
IndexError: index is out of bounds for dimension with size 0

Environment: RTX 3090

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