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

Issues with custom Training Data #78

Open
satyajitghana opened this issue Jan 27, 2023 · 5 comments
Open

Issues with custom Training Data #78

satyajitghana opened this issue Jan 27, 2023 · 5 comments

Comments

@satyajitghana
Copy link

Hi,

I'm trying to train PointNerf on my Custom Data, which is very similar to Nerf Synthetic COLMAP data, but I'm having trouble loading my point cloud

torch.Size([2989992]) torch.Size([2989992]) torch.Size([2989992])
load points_xyz torch.Size([0, 3])
Traceback (most recent call last):
  File "/mnt/thor_hdd_01/satyajit/experiments/pointnerf/run/train_ft.py", line 1081, in <module>
    main()
  File "/mnt/thor_hdd_01/satyajit/experiments/pointnerf/run/train_ft.py", line 690, in main
    _, sparse_grid_idx, sampled_pnt_idx = mvs_utils.construct_vox_points_closest(points_xyz.cuda() if len(points_xyz) < 80000000 else points_xyz[::(len(points_xyz) // 80000000 + 1), ...].cuda(), vox_res)
  File "/mnt/thor_hdd_01/satyajit/experiments/pointnerf/run/../models/mvs/mvs_utils.py", line 541, in construct_vox_points_closest
    xyz_min, xyz_max = torch.min(xyz, dim=-2)[0], torch.max(xyz, dim=-2)[0]
IndexError: min(): Expected reduction dim 0 to have non-zero size.
end loading

although the fused.ply seems fine

   ply
   format binary_little_endian 1.0
   element vertex 488944
   property float x
   property float y
   property float z
   property float nx
   property float ny
   property float nz
   property uchar red
   property uchar green
   property uchar blue
   end_header
   ]V?H,^D?@VR??g?>{K?>

I'm not sure what could be going wrong

@jmchensc
Copy link

jmchensc commented May 30, 2023

Hi, I have the same problems with you when runing my own datasets which is like "load points_xyz torch.Size([0, 3])", may I ask you have found the solution to this problem?

@kaichen-z
Copy link

I think that this problem mainly comes from the previous filtering process consisting of several steps, you probably need to check each step for number decreasing.

@iszhihao
Copy link

嗨,我在运行自己的数据集时遇到了同样的问题,就像“加载points_xyz火炬。Size([0, 3])“,请问您已经找到了这个问题的解决方案?

请问您已经找到了这个问题的解决方案?我在更换了MVSNet的模型后,也遇到了这个问题

@jmchensc
Copy link

jmchensc commented Jun 22, 2024 via email

@1FUSANGSSHU1
Copy link

嗨,我在运行自己的数据集时遇到了同样的问题,就像“加载points_xyz火炬。Size([0, 3])“,请问您已经找到了这个问题的解决方案?

请问您已经找到了这个问题的解决方案?我在更换了MVSNet的模型后,也遇到了这个问题

您好,可以问一下个人pointnerf数据集是怎么制作的吗

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

5 participants