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
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